diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-04-11 19:09:02 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-04-11 19:09:02 +0000 |
commit | 57bafb87794578de076034cbdf0eebe284ae72a1 (patch) | |
tree | af29efd694abcc49a7765cf73496f14fb2518e5c /ezjail-admin | |
parent | d41e5c4d78683a695c64261ceb5768f11bfe5ddf (diff) |
new options correctly listed in create without options
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 2 |
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." |