fff-gateway: suppress unwanted error for config existance check

We provide our own error message, so suppress the built-in one.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Adrian Schmutzler 2020-04-26 13:49:49 +02:00
parent f7c5f949f7
commit f8ced0cc04
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ configure() {
local config_version=$(uci -q get gateway.meta.config_version)
# check if gateway config exists
if ! uci show gateway > /dev/null; then
if ! uci -q show gateway > /dev/null; then
echo "ERROR: Gateway config could not be parsed or does not exist."
exit 1