diff options
| author | sayuan | 2016-01-21 14:09:24 +0000 |
|---|---|---|
| committer | sayuan | 2016-01-21 14:09:24 +0000 |
| commit | b81ee0aa340ad88869ffeec251f9651e3582c943 (patch) | |
| tree | 7c737175a99def3b1951b160579322d86e26c07d | |
| parent | 4f8207064a7d668f7b1a80a25973654fa7761dc0 (diff) | |
| download | routing-b81ee0aa340ad88869ffeec251f9651e3582c943.tar.gz | |
nodogsplash: fix init script
| -rwxr-xr-x | nodogsplash/files/nodogsplash.init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |