mail[Wesnoth-commits] r28912 - /trunk/utils/mp-server/run_server


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by soliton . de on August 24, 2008 - 02:17:
Author: soliton
Date: Sun Aug 24 02:17:16 2008
New Revision: 28912

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28912&view=rev
Log:
correct syntax..

Modified:
    trunk/utils/mp-server/run_server

Modified: trunk/utils/mp-server/run_server
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/mp-server/run_server?rev=28912&r1=28911&r2=28912&view=diff
==============================================================================
--- trunk/utils/mp-server/run_server (original)
+++ trunk/utils/mp-server/run_server Sun Aug 24 02:17:16 2008
@@ -84,7 +84,7 @@
        # 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




Related Messages


Powered by MHonArc, Updated Sun Aug 24 11:02:35 2008