diff options
author | erdgeist <erdgeist@erdgeist.org> | 2008-04-02 21:03:16 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2008-04-02 21:03:16 +0000 |
commit | f9f68587446c6583347561f44b3188821e8b546f (patch) | |
tree | bcb2d6b8a902d7c7275842f5010ceb8faaaebb6e | |
parent | 7c281ef1f264728bfbda4bdae85eaa2377c41f2b (diff) |
when specifying jail name, options must not be quoted
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index eb3c407..17d7349 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -466,7 +466,7 @@ create) | |||
466 | unset ezjail_archive_opt | 466 | unset ezjail_archive_opt |
467 | ezjail_makeabsolute ezjail_fromarchive | 467 | ezjail_makeabsolute ezjail_fromarchive |
468 | [ "${ezjail_fromarchive}" = "-" ] && unset ezjail_archive_opt || ezjail_archive_opt="-f ${ezjail_fromarchive}" | 468 | [ "${ezjail_fromarchive}" = "-" ] && unset ezjail_archive_opt || ezjail_archive_opt="-f ${ezjail_fromarchive}" |
469 | mkdir -p "${ezjail_rootdir}" && cd "${ezjail_rootdir}" && pax -rz -pe "${ezjail_archive_opt}" -s:^ezjail/:: ezjail/* | 469 | mkdir -p "${ezjail_rootdir}" && cd "${ezjail_rootdir}" && pax -rz -pe ${ezjail_archive_opt} -s:^ezjail/:: ezjail/* |
470 | [ $? -eq 0 ] || detach_images || exerr "Error: Could not extract archive from ${ezjail_fromarchive}." | 470 | [ $? -eq 0 ] || detach_images || exerr "Error: Could not extract archive from ${ezjail_fromarchive}." |
471 | elif [ -z "${ezjail_exists}" ]; then | 471 | elif [ -z "${ezjail_exists}" ]; then |
472 | # now take a copy of our template jail | 472 | # now take a copy of our template jail |