Fixed missing update to status file

Fixed a bug where the init script failed to update the status of the service to INIT when the host is not connectable, but a local version is found.
This commit is contained in:
Jafner 2021-09-23 22:06:41 -07:00
parent c893f77e04
commit eb4d9593b8

View File

@ -77,6 +77,7 @@ else # if get.5e.tools is not accessible
then
echo " === Version file found: $(cat /usr/local/apache2/htdocs/version)"
echo " === Starting!"
echo "INIT" > /status
else
echo " === No version file found! You must be able to access $HOST to grab the 5eTools files."
exit 1