Adjust the reload function
authorNeutron Soutmun <neo.neutron@gmail.com>
Mon, 27 Apr 2009 02:08:18 +0000 (09:08 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Mon, 27 Apr 2009 02:08:18 +0000 (09:08 +0700)
2009-04-27  Neutron Soutmun <neo.neutron@gmail.com>

* example/rahunas.init.in:
  - Adjust the reload function to show status message propperly.

ChangeLog
example/rahunas.init.in

index 290b744..76c12dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-04-27  Neutron Soutmun <neo.neutron@gmail.com>
 
+       * example/rahunas.init.in: 
+         - Adjust the reload function to show status message propperly.
+
+2009-04-27  Neutron Soutmun <neo.neutron@gmail.com>
+
        * src/rahunas.c, src/rh-config.h, src/rh-ipset.c, src/rh-server.{h,c},
          src/rh-task-dbset.c, src/rh-task-ipset.c, src/rh-task-iptables.c, 
          src/rh-task-memset.c:
index 5d0ca69..acab0f0 100755 (executable)
@@ -82,12 +82,6 @@ reload () {
     --pidfile $PID --name $NAME < /dev/null
   sleep 2
 
-  if test -n "$PID" && kill -0 $PID 2>/dev/null
-  then
-    log_action_end_msg 0
-  else
-    log_action_end_msg 1
-  fi
   return 0
 }