mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-24 19:22:26 +01:00
exit if no args
This commit is contained in:
@@ -42,8 +42,12 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
|
||||
TARGET="${1}"
|
||||
shift
|
||||
if [ $# -eq 0 ]; then
|
||||
usage
|
||||
else
|
||||
TARGET="${1}"
|
||||
shift
|
||||
fi
|
||||
|
||||
if [ "${TARGET}" = "ALL" ]; then
|
||||
target_all_jails
|
||||
|
||||
Reference in New Issue
Block a user