From f9f68587446c6583347561f44b3188821e8b546f Mon Sep 17 00:00:00 2001 From: erdgeist Date: Wed, 2 Apr 2008 21:03:16 +0000 Subject: when specifying jail name, options must not be quoted --- ezjail-admin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ezjail-admin') diff --git a/ezjail-admin b/ezjail-admin index eb3c407..17d7349 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -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 -- cgit v1.2.3