1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Fixed indentation

This commit is contained in:
WaLLy3K 2017-05-11 10:11:04 +10:00 committed by GitHub
parent fe0a35cc7a
commit 7fef1fdc83

View File

@ -81,12 +81,12 @@ coreOutput() {
elif [ -n "$hash" ]; then
str="Current Pi-hole hash is $hash"
else
error="true"
error="true"
fi
if [ "$error" = "true" ]; then
echo " Invalid Option! Try 'pihole -v --help' for more information."
exit 1
echo " Invalid Option! Try 'pihole -v --help' for more information."
exit 1
fi
echo " $str"
@ -109,12 +109,12 @@ webOutput() {
elif [ -n "$hash" ]; then
str="Current Admin Console hash is $hash"
else
error="true"
error="true"
fi
if [ "$error" = "true" ]; then
echo " Invalid Option! Try 'pihole -v --help' for more information."
exit 1
echo " Invalid Option! Try 'pihole -v --help' for more information."
exit 1
fi
echo " $str"
@ -133,12 +133,12 @@ ftlOutput() {
elif [ -z "$current" -a -n "$latest" ]; then
str="Latest FTL version is $latest"
else
error="true"
error="true"
fi
if [ "$error" = "true" ]; then
echo " Invalid Option! Try 'pihole -v --help' for more information."
exit 1
echo " Invalid Option! Try 'pihole -v --help' for more information."
exit 1
fi
echo " $str"