forked from freifunk-franken/firmware
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:
parent
f7c5f949f7
commit
f8ced0cc04
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue