From b81ee0aa340ad88869ffeec251f9651e3582c943 Mon Sep 17 00:00:00 2001 From: sayuan Date: Thu, 21 Jan 2016 22:09:24 +0800 Subject: [PATCH] nodogsplash: fix init script --- nodogsplash/files/nodogsplash.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodogsplash/files/nodogsplash.init b/nodogsplash/files/nodogsplash.init index 0712fa9..08f980a 100755 --- a/nodogsplash/files/nodogsplash.init +++ b/nodogsplash/files/nodogsplash.init @@ -152,7 +152,7 @@ generate_uci_config() { config_get val "$cfg" config if [ -n "$val" ] ; then - if [ -f "$val" ] ; then + if [ ! -f "$val" ] ; then nolog error "Configuration file '$file' doesn't exist" return 0 fi -- 2.30.2