ROMFS: avoid empty 'then else' clause, it's an error in bash

Use 'if ! <cmd>' instead.
This commit is contained in:
Beat Küng
2018-08-13 21:50:14 -04:00
committed by Daniel Agar
parent d4c7dbc93d
commit 9ba2e91fa1
7 changed files with 33 additions and 70 deletions
+2 -5
View File
@@ -61,12 +61,9 @@ then
fi
param select $PARAM_FILE
if param load
if !param load
then
else
if param reset
then
fi
param reset
fi
tone_alarm start