diff options
-rwxr-xr-x | ezjail-admin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin index 5cd25ea..69e60e3 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -375,7 +375,7 @@ delete) | |||
375 | ;; | 375 | ;; |
376 | ######################## ezjail-admin LIST ######################## | 376 | ######################## ezjail-admin LIST ######################## |
377 | list) | 377 | list) |
378 | [ $# -eq 0 ] || exerr "Usage: `basename -- $0` list" | 378 | [ $# -eq 1 ] || exerr "Usage: `basename -- $0` list" |
379 | 379 | ||
380 | ezjail_list=`find -X ${ezjail_prefix}/etc/ezjail/ 2> /dev/null | xargs rcorder | xargs basename -a` | 380 | ezjail_list=`find -X ${ezjail_prefix}/etc/ezjail/ 2> /dev/null | xargs rcorder | xargs basename -a` |
381 | 381 | ||
@@ -446,7 +446,7 @@ install) | |||
446 | ?) exerr "Usage: `basename -- $0` install [-mps] [-h host] [-r release]";; | 446 | ?) exerr "Usage: `basename -- $0` install [-mps] [-h host] [-r release]";; |
447 | esac; done; shift $(( ${OPTIND} - 1 )) | 447 | esac; done; shift $(( ${OPTIND} - 1 )) |
448 | 448 | ||
449 | [ $# -eq 0 ] || exerr "Usage: `basename -- $0` install [-mps] [-h host] [-r release]";; | 449 | [ $# -eq 0 ] || exerr "Usage: `basename -- $0` install [-mps] [-h host] [-r release]" |
450 | 450 | ||
451 | ezjail_installarch=`uname -p` | 451 | ezjail_installarch=`uname -p` |
452 | ezjail_ftphost=${ezjail_ftphost:-"ftp.freebsd.org"} | 452 | ezjail_ftphost=${ezjail_ftphost:-"ftp.freebsd.org"} |