Begin fixing exit values.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper
2016-12-01 12:21:08 -08:00
parent 1c64f1d0cf
commit 2ec4acfe52
4 changed files with 8 additions and 8 deletions

2
pihole
View File

@@ -227,7 +227,7 @@ helpFunc() {
::: pihole disable 5m - will disable blocking for 5 minutes
::: restartdns Restart dnsmasq
EOM
exit 1
exit 0
}
if [[ $# = 0 ]]; then