mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 04:37:19 +02:00
fix parameter check
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user