The following commit has been merged in the master branch:
commit 5f8ec66e4439525bcbe7f619321532a81f7e10e9
Author: Simon McVittie <[email protected]>
Date:   Sat Jun 23 00:38:30 2012 +0100

    Make sure to get the status of the right ioq3ded instance, using the pid 
file

diff --git a/debian/changelog b/debian/changelog
index da6ac2f..f528022 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ openarena (0.8.8-5) UNRELEASED; urgency=low
 
   * Don't refuse to start a new openarena-server if there's a stale
     pid file (Closes: #678543)
+  * Make sure to get the status of the right ioq3ded instance, using
+    the pid file
 
  -- Simon McVittie <[email protected]>  Sat, 23 Jun 2012 00:31:07 +0100
 
diff --git a/debian/openarena-server.init b/debian/openarena-server.init
index 7961989..3ffa3bd 100644
--- a/debian/openarena-server.init
+++ b/debian/openarena-server.init
@@ -85,7 +85,7 @@ case "$1" in
         log_end_msg $?
        ;;
     status)
-       status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+       status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $?
        ;;
     *)
        # echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2

-- 
Packaging for the OpenArena engine

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to