mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-26 15:30:45 +01:00
exit if no args
This commit is contained in:
@@ -41,8 +41,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