when specifying jail name, options must not be quoted
This commit is contained in:
parent
7c281ef1f2
commit
f9f6858744
@ -466,7 +466,7 @@ create)
|
||||
unset ezjail_archive_opt
|
||||
ezjail_makeabsolute ezjail_fromarchive
|
||||
[ "${ezjail_fromarchive}" = "-" ] && unset ezjail_archive_opt || ezjail_archive_opt="-f ${ezjail_fromarchive}"
|
||||
mkdir -p "${ezjail_rootdir}" && cd "${ezjail_rootdir}" && pax -rz -pe "${ezjail_archive_opt}" -s:^ezjail/:: ezjail/*
|
||||
mkdir -p "${ezjail_rootdir}" && cd "${ezjail_rootdir}" && pax -rz -pe ${ezjail_archive_opt} -s:^ezjail/:: ezjail/*
|
||||
[ $? -eq 0 ] || detach_images || exerr "Error: Could not extract archive from ${ezjail_fromarchive}."
|
||||
elif [ -z "${ezjail_exists}" ]; then
|
||||
# now take a copy of our template jail
|
||||
|
Loading…
x
Reference in New Issue
Block a user