From 9436474412e948660744038de616fcd649f917e0 Mon Sep 17 00:00:00 2001 From: Sebastian Kinne Date: Mon, 20 Nov 2017 08:32:47 +1100 Subject: [PATCH] Ensure ddnsc doesn't throw UCI errors --- modules/ddnsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ddnsc b/modules/ddnsc index 901233a..e13179e 100644 --- a/modules/ddnsc +++ b/modules/ddnsc @@ -97,7 +97,7 @@ function stop { function status { - if [ "$(uci get ddns.myddns.enabled)" == "1" ]; then + if [ "$(uci -q get ddns.myddns.enabled)" == "1" ]; then echo "1" else echo "0"