mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Fixed indentation
This commit is contained in:
parent
fe0a35cc7a
commit
7fef1fdc83
1 changed files with 9 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue