add checking for new required bootstrap input (target_administrator)
This commit is contained in:
+2
-2
@@ -145,8 +145,8 @@ while [[ $# -gt 0 ]]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "$target_hostname" ] || [ -z "$target_destination" ]; then
|
if [ -z "$target_hostname" ] || [ -z "$target_destination" ] || [ -z "$target_administrator" ]; then
|
||||||
echo "ERROR: -n, -d, and -k are all required"
|
echo "ERROR: -n, -d, and -a are all required"
|
||||||
echo
|
echo
|
||||||
help_and_exit
|
help_and_exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user