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"