fix color issues with uninstaller

This commit is contained in:
ducoterra
2018-09-22 15:56:03 -04:00
parent 18067d03e8
commit 7eb5e57047
3 changed files with 60 additions and 18 deletions

View File

@@ -8,7 +8,7 @@ source ./vars
# check if root
if [[ $EUID -ne 0 ]]; then
echo -e "This script must be run as root"
echo -e "This script must be run as root"
exit 1
fi
cd /root/
@@ -288,4 +288,4 @@ systemctl enable nginx 1>> $nginxlogloc 2>> $nginxlogloc
tput setaf 2
echo -e "Done! Navigate to $hostname to access the site. Logs can be found in $logdir"
tput setaf 9
exit 0
exit 0