[Groonga-commit] groonga/groonga at 27cd5c4 [master] groonga-httpd-reastart: remove duplicated code

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 22 16:10:30 JST 2013


Kouhei Sutou	2013-08-22 16:10:30 +0900 (Thu, 22 Aug 2013)

  New Revision: 27cd5c4b2cb90aff3c36c061745ea95fe1bcb464
  https://github.com/groonga/groonga/commit/27cd5c4b2cb90aff3c36c061745ea95fe1bcb464

  Message:
    groonga-httpd-reastart: remove duplicated code

  Modified files:
    data/scripts/groonga-httpd-restart

  Modified: data/scripts/groonga-httpd-restart (+1 -1)
===================================================================
--- data/scripts/groonga-httpd-restart    2013-08-22 15:56:13 +0900 (88e4d95)
+++ data/scripts/groonga-httpd-restart    2013-08-22 16:10:30 +0900 (e8e24db)
@@ -65,7 +65,7 @@ fi
 OLD_PID=`cat ${OLD_PID_FILE}`
 
 # Switch worker process.
-kill -WINCH `cat ${OLD_PID_FILE}`
+kill -WINCH ${OLD_PID}
 
 if ! wait_until [ -f "${PID_FILE}" ]; then
     echo "Failed to switch worker process."
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index