correct syntax..
This commit is contained in:
parent
6b2270e1e9
commit
a3a9ff258a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue