This commit is contained in:
2021-01-17 12:18:55 +00:00
parent 0f68fbf1ae
commit cf8da89a97
+1 -1
View File
@@ -21,7 +21,7 @@ if [ "$#" -ne 3 ]; then
fi
# check if the system parameter is valid
if ! echo "$SYSTEMS" | grep -w "$2" >/dev/null; then
if ! echo "$SYSTEMS" | grep -w "$1" >/dev/null; then
printf "%s\n" "You must enter a valid system name."
help_message
exit 0