mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Fixed indentation
This commit is contained in:
parent
fe0a35cc7a
commit
7fef1fdc83
@ -81,12 +81,12 @@ coreOutput() {
|
|||||||
elif [ -n "$hash" ]; then
|
elif [ -n "$hash" ]; then
|
||||||
str="Current Pi-hole hash is $hash"
|
str="Current Pi-hole hash is $hash"
|
||||||
else
|
else
|
||||||
error="true"
|
error="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$error" = "true" ]; then
|
if [ "$error" = "true" ]; then
|
||||||
echo " Invalid Option! Try 'pihole -v --help' for more information."
|
echo " Invalid Option! Try 'pihole -v --help' for more information."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " $str"
|
echo " $str"
|
||||||
@ -109,12 +109,12 @@ webOutput() {
|
|||||||
elif [ -n "$hash" ]; then
|
elif [ -n "$hash" ]; then
|
||||||
str="Current Admin Console hash is $hash"
|
str="Current Admin Console hash is $hash"
|
||||||
else
|
else
|
||||||
error="true"
|
error="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$error" = "true" ]; then
|
if [ "$error" = "true" ]; then
|
||||||
echo " Invalid Option! Try 'pihole -v --help' for more information."
|
echo " Invalid Option! Try 'pihole -v --help' for more information."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " $str"
|
echo " $str"
|
||||||
@ -133,12 +133,12 @@ ftlOutput() {
|
|||||||
elif [ -z "$current" -a -n "$latest" ]; then
|
elif [ -z "$current" -a -n "$latest" ]; then
|
||||||
str="Latest FTL version is $latest"
|
str="Latest FTL version is $latest"
|
||||||
else
|
else
|
||||||
error="true"
|
error="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$error" = "true" ]; then
|
if [ "$error" = "true" ]; then
|
||||||
echo " Invalid Option! Try 'pihole -v --help' for more information."
|
echo " Invalid Option! Try 'pihole -v --help' for more information."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " $str"
|
echo " $str"
|
||||||
|
Loading…
Reference in New Issue
Block a user