You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
376 B

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);