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