Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Schaper <dan.schaper@pi-hole.net>2016-12-02 02:10:06 +0300
committerDan Schaper <dan.schaper@pi-hole.net>2016-12-02 02:10:06 +0300
commit925c80edd45e962cc824b48693603075e62fa7eb (patch)
tree584b6fdc168c42e6dded57002a455eaccd00a7e9
parentcb52ad3ba307fc2eb4a303052e3ce72af32eff8b (diff)
Catch more 1's
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
-rwxr-xr-xadvanced/Scripts/chronometer.sh2
-rw-r--r--advanced/Scripts/version.sh2
-rwxr-xr-xadvanced/Scripts/webpage.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/advanced/Scripts/chronometer.sh b/advanced/Scripts/chronometer.sh
index 7f2c764a..c4b3d865 100755
--- a/advanced/Scripts/chronometer.sh
+++ b/advanced/Scripts/chronometer.sh
@@ -121,7 +121,7 @@ displayHelp() {
::: -j, --json output stats as JSON formatted string
::: -h, --help display this help text
EOM
- exit 1
+ exit 0
}
if [[ $# = 0 ]]; then
diff --git a/advanced/Scripts/version.sh b/advanced/Scripts/version.sh
index fc74f8a0..42bd96ce 100644
--- a/advanced/Scripts/version.sh
+++ b/advanced/Scripts/version.sh
@@ -86,7 +86,7 @@ helpFunc() {
::: -h, --help Show this help dialog
:::
EOM
- exit 1
+ exit 0
}
if [[ $# = 0 ]]; then
diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh
index bcb45a14..0a79d853 100755
--- a/advanced/Scripts/webpage.sh
+++ b/advanced/Scripts/webpage.sh
@@ -23,7 +23,7 @@ helpFunc() {
::: -f, fahrenheit Set Fahrenheit temperature unit
::: -h, --help Show this help dialog
EOM
- exit 1
+ exit 0
}
SetTemperatureUnit(){