Ensure ddnsc doesn't throw UCI errors

pull/24/head
Sebastian Kinne 2017-11-20 08:32:47 +11:00 committed by GitHub
parent 755e1cf139
commit 9436474412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"