fix parameter check

This commit is contained in:
rootzoll
2021-05-01 01:08:59 +02:00
parent 8aab2fd700
commit e2d80a4a57

View File

@@ -27,7 +27,7 @@ setPasswordC=0
# 1st PARAMATER: [raspiblitz|mynode|umbrel]
migrationOS="$1"
if [ "${migrationOS}" != "raspiblitz" ] && [ "${migrationOS}" != "mynode" ] && [ "${migrationOS}" != "raspiblitz" ]; then
if [ "${migrationOS}" != "raspiblitz" ] && [ "${migrationOS}" != "mynode" ] && [ "${migrationOS}" != "umbrel" ]; then
echo "parameter1(${migrationOS})"
echo "error='not supported'"
exit 1