From: Jim M. <jm...@us...> - 2012-09-05 20:46:18
|
Update of /cvsroot/ipmitool/ipmitool/lib In directory vz-cvs-4.sog:/tmp/cvs-serv30273/lib Modified Files: helper.c Log Message: Author: Jan Safranek <jsa...@re...> Date: Mon Aug 13 14:35:28 2012 +0200 Fixed ipmievd start under systemd. Systemd init system starts services with parent PID=1. Still, it is expected that the daemon forks and exits with nozero exit status, if its initialization fails. Index: helper.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/helper.c,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** helper.c 3 Aug 2012 17:07:07 -0000 1.44 --- helper.c 5 Sep 2012 20:46:16 -0000 1.45 *************** *** 550,557 **** #endif - /* if we are started from init no need to become daemon */ - if (getppid() == 1) - return; - #ifdef SIGHUP sigemptyset(&sighup); --- 550,553 ---- |