sysupgrade: Tweak an expression to reduce potential (safe) warning messages.

This commit is contained in:
Ronny Nilsson 2020-02-14 12:20:48 +01:00
parent 8153cf8d74
commit 87ec25c82c

View file

@ -9,7 +9,7 @@ set -e
# Do nothing if user want to discard old settings.
if [ -n "$SAVE_CONFIG" -a $SAVE_CONFIG -eq 0 ]; then
if [ -n "$SAVE_CONFIG" ] && [ $SAVE_CONFIG -eq 0 ]; then
exit 0
fi