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:
parent
fe0a35cc7a
commit
7fef1fdc83
@ -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 New Issue
Block a user