summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2008-04-02 21:03:16 +0000
committererdgeist <erdgeist@erdgeist.org>2008-04-02 21:03:16 +0000
commitf9f68587446c6583347561f44b3188821e8b546f (patch)
treebcb2d6b8a902d7c7275842f5010ceb8faaaebb6e
parent7c281ef1f264728bfbda4bdae85eaa2377c41f2b (diff)
when specifying jail name, options must not be quoted
-rwxr-xr-xezjail-admin2
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