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:
parent
dfc671b4c3
commit
f62fd63d9e
@ -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"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user