Exit on missing file argument

This commit is contained in:
William Wernert
2021-09-01 15:08:53 -04:00
parent 72859adb13
commit 576c893eb3

View File

@@ -788,6 +788,7 @@ main() {
check_airgap
if [[ $is_airgap -eq 0 && $UNATTENDED == true && -z $ISOLOC ]]; then
echo "Missing file argument for unattended airgap upgrade."
exit 1
fi
echo "Checking to see if this is a manager."
echo ""