Fredrik Fornwall
9 years ago
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||
diff -u -r ../procps-ng-3.3.11/pgrep.c ./pgrep.c
|
|||
--- ../procps-ng-3.3.11/pgrep.c 2015-08-09 01:54:54.298117295 -0400
|
|||
+++ ./pgrep.c 2016-04-12 01:14:09.647108539 -0400
|
|||
@@ -713,7 +713,7 @@
|
|||
{NULL, 0, NULL, 0} |
|||
}; |
|||
|
|||
- if (strstr (program_invocation_short_name, "pkill")) {
|
|||
+ if (strstr (argv[0], "pkill")) {
|
|||
int sig; |
|||
i_am_pkill = 1; |
|||
sig = signal_option(&argc, argv); |
Loading…
Reference in new issue