fff-layer3-config: show uci syntax errors #235

Closed
fbl wants to merge 1 commits from fbl:ucierror into master
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
configure() {
# check if gateway config exists
if ! uci -q show gateway > /dev/null; then
if ! uci show gateway > /dev/null; then
echo "ERROR: Gateway config could not be parsed or does not exist."
return 1