added information in the result.html when selfserver dies (previously

only in output.log)
This commit is contained in:
sonmi%netscape.com 2001-01-23 01:47:32 +00:00
Родитель e737ea1d8d
Коммит 74241c3ef8
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -53,6 +53,8 @@ is_selfserv_alive()
sleep 5
if [ ! -f "${SERVERPID}" ]
then
echo "<TR><TD>fatal error - no serverpidfile</TD><TD bgcolor=red>Failed</TD><TR>" >> ${RESULTS}
echo "</TABLE><BR>" >> ${RESULTS}
Exit "Fatal Error - selfserver pid file ${SERVERPID} still does not exist - exiting"
fi
fi
@ -66,7 +68,9 @@ is_selfserv_alive()
fi
if [ "$SERVER_OK" = "FALSE" ]
then
Exit "Fatal Error - selfserver process not dedectable"
echo "<TR><TD>fatal error - no selfserverprocess</TD><TD bgcolor=red>Failed</TD><TR>" >> ${RESULTS}
echo "</TABLE><BR>" >> ${RESULTS}
Exit "Fatal Error - selfserver process not detectable"
fi
}