1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Highlight error in red, if /opt/iiab/iiab missing (and needed)

This commit is contained in:
A Holt 2019-10-09 19:13:51 -04:00 committed by GitHub
parent c92dd3ddbf
commit 24af85e966
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ else
# Above is tighter/better than running all of "./runrole 1-prep" # Above is tighter/better than running all of "./runrole 1-prep"
echo echo
else else
echo -e 'Directory /opt/iiab/iiab does not exist: CANNOT INSTALL OPENVPN!\n' echo -e '\e[41m Directory /opt/iiab/iiab does not exist: CANNOT INSTALL OPENVPN! \e[0m\n'
exit 1 exit 1
fi fi
fi fi
@ -116,4 +116,5 @@ if [ "$vpnip" != "" ]; then
echo -e "\nYour OpenVPN IP address (which can change) is: \e[32m$vpnip\e[0m\n" echo -e "\nYour OpenVPN IP address (which can change) is: \e[32m$vpnip\e[0m\n"
else else
echo -e "\n \e[41m ERROR: OpenVPN IP address not ready - PLEASE TRY THE ABOVE TIPS \e[0m\n" echo -e "\n \e[41m ERROR: OpenVPN IP address not ready - PLEASE TRY THE ABOVE TIPS \e[0m\n"
exit 1
fi fi