summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-04-11 19:09:02 +0000
committererdgeist <erdgeist@erdgeist.org>2006-04-11 19:09:02 +0000
commit57bafb87794578de076034cbdf0eebe284ae72a1 (patch)
treeaf29efd694abcc49a7765cf73496f14fb2518e5c /ezjail-admin
parentd41e5c4d78683a695c64261ceb5768f11bfe5ddf (diff)
new options correctly listed in create without options
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 1152b10..6cca014 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -72,7 +72,7 @@ create)
72 newjail_name=$1; newjail_ip=$2 72 newjail_name=$1; newjail_ip=$2
73 73
74 # we need at least a name and an ip for new jail 74 # we need at least a name and an ip for new jail
75 [ "${newjail_name}" -a "${newjail_ip}" -a $# = 2 ] || exerr "Usage: `basename -- $0` create [-f flavour] [-r jailroot] [-x] jailname jailip" 75 [ "${newjail_name}" -a "${newjail_ip}" -a $# = 2 ] || exerr "Usage: `basename -- $0` create [-f flavour] [-r jailroot] [-s size] [-xic] jailname jailip"
76 76
77 # check for sanity of settings concerning the image feature 77 # check for sanity of settings concerning the image feature
78 [ "${newjail_image}" -a "$newjail_fill" = "YES" -a ! "${newjail_imagesize}" ] && exerr "Image jails need an image size." 78 [ "${newjail_image}" -a "$newjail_fill" = "YES" -a ! "${newjail_imagesize}" ] && exerr "Image jails need an image size."