diff options
author | erdgeist <erdgeist@erdgeist.org> | 2005-11-15 14:31:50 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2005-11-15 14:31:50 +0000 |
commit | 71ba181503fb8e41a5da5cfd6aa027bf8ea8ecf8 (patch) | |
tree | 864a7d0feb501d387ca4077350686a2eace6729e | |
parent | b8e30d37cb0de9b6332ecbcd46eac63c4a24aadd (diff) |
function keyword not in BSDs sh
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index 6cd11a8..907a61f 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -22,7 +22,7 @@ ezjail_devfs_ruleset=${ezjail_devfs_ruleset:-"devfsrules_jail"} | |||
22 | ezjail_procfs_enable=${ezjail_procfs_enable:-"YES"} | 22 | ezjail_procfs_enable=${ezjail_procfs_enable:-"YES"} |
23 | ezjail_fdescfs_enable=${ezjail_fdescfs_enable:-"YES"} | 23 | ezjail_fdescfs_enable=${ezjail_fdescfs_enable:-"YES"} |
24 | 24 | ||
25 | function exerr () { echo $*; exit 1; } | 25 | exerr () { echo $*; exit 1; } |
26 | 26 | ||
27 | # check for command | 27 | # check for command |
28 | [ "$1" ] || exerr "Usage: `basename $0` [create|delete|list|update] {params}" | 28 | [ "$1" ] || exerr "Usage: `basename $0` [create|delete|list|update] {params}" |