Fix for : procps states a bug is hit when receiving a signal (rhbz#871824, rhbz#441656)

Bug-Redhat: http://bugzilla.redhat.com/871824
Bug-Redhat: http://bugzilla.redhat.com/441656
This commit is contained in:
Jaromir Capik 2012-12-12 12:02:52 +01:00 committed by Craig Small
parent dfc671b4c3
commit f62fd63d9e

View File

@ -56,7 +56,14 @@ static void signal_handler(int signo){
myname, myname,
procps_version procps_version
); );
catastrophic_failure(__FILE__, __LINE__, _("please report this bug")); switch (signo) {
case SIGHUP:
case SIGUSR1:
case SIGUSR2:
exit(EXIT_FAILURE);
default:
catastrophic_failure(__FILE__, __LINE__, _("please report this bug"));
}
} }
///////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////