Restore repo to 90f149e state
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
#include <dirent.h>
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
#include <signal.h>
|
||||
#include <sys/prctl.h>
|
||||
|
||||
|
||||
#define DEFAULT_NUM_LEN 512
|
||||
@@ -289,12 +287,6 @@ int main(void)
|
||||
}
|
||||
|
||||
if (pid == 0) {
|
||||
if (prctl(PR_SET_PDEATHSIG, SIGKILL) != 0) {
|
||||
_exit(1);
|
||||
}
|
||||
if (getppid() == 1) {
|
||||
_exit(0);
|
||||
}
|
||||
pause();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user