From 3013cfc3925e4f82548d2a4be78200d2ccbedf62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sat, 10 Nov 2018 11:47:39 +0100 Subject: [PATCH] Use 2 lines instead of 1 line for config check --- package/opt/hassbian/suites/homeassistant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/opt/hassbian/suites/homeassistant.sh b/package/opt/hassbian/suites/homeassistant.sh index 4543c5a3..35408b34 100644 --- a/package/opt/hassbian/suites/homeassistant.sh +++ b/package/opt/hassbian/suites/homeassistant.sh @@ -128,7 +128,7 @@ if [ "$FORCE" != "true" ]; then EOF ) config_check_lines=$(echo "$config_check" | wc -l) - if (( config_check_lines > 1 ));then + if (( config_check_lines > 2 ));then if [ "$ACCEPT" != "true" ]; then echo -n "Config check failed for new version, do you want to revert? [Y/n] : " read -r RESPONSE