diff options
Diffstat (limited to 'net-wireless/aircrack-ng/files')
-rw-r--r-- | net-wireless/aircrack-ng/files/process-group-leader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-wireless/aircrack-ng/files/process-group-leader.c b/net-wireless/aircrack-ng/files/process-group-leader.c index 4c5f1ad4d8f6..4abdcccf9dcd 100644 --- a/net-wireless/aircrack-ng/files/process-group-leader.c +++ b/net-wireless/aircrack-ng/files/process-group-leader.c @@ -8,7 +8,7 @@ int main (int argc, char *argv[]) { signal (SIGQUIT, SIG_IGN); signal (SIGTERM, SIG_IGN); - setpgrp (); + setpgid (0, 0); pid=fork (); if (pid == 0) { |