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