correct syntax..

This commit is contained in:
Gunter Labes 2008-08-24 00:17:16 +00:00
parent 6b2270e1e9
commit a3a9ff258a

View file

@ -84,7 +84,7 @@ do
# need to use the recorded path since the build/ symlink might have changed
mv "$SERVERBASE/$BUILDDIR/gmon.out" "$SERVERBASE/$BUILDDIR/gmon.$DATE.$REV.out" > /dev/null 2>&1
# check for return code if not zero or 98 (port in use) the server should be restarted
if [ "$EXIT_CODE" = "0" || "$EXIT_CODE" = "98" ]; then
if [ "$EXIT_CODE" = "0" ] || [ "$EXIT_CODE" = "98" ]; then
echo "run_server script shutting down."
exit 0
fi