pkill -u uid fix
pkill would not parse -u <uid> options correctly and needed no space between the flag and uid. Bug-Debian: http://bugs.debian.org/676239 Signed-Of-By: Craig Small <csmall@enc.com.au>
This commit is contained in:
committed by
Craig Small
parent
a5ba6b98c1
commit
a5d9c40262
1
NEWS
1
NEWS
@@ -4,6 +4,7 @@ procps-ng-3.3.4
|
||||
* w get -i option to display IP addresses
|
||||
* watch 8bit fixes Debian #675069
|
||||
* Fixed FTBFS for non-linux Debian #677055
|
||||
* pkill -u <uid> doesnt need space Debian #676239
|
||||
|
||||
procps-ng-3.3.3
|
||||
---------------
|
||||
|
2
pgrep.c
2
pgrep.c
@@ -564,7 +564,7 @@ int signal_option(int *argc, char **argv)
|
||||
{
|
||||
int sig;
|
||||
int i = 1;
|
||||
while (i < *argc) {
|
||||
if (argc > 2 && argv[1][0] == '-') {
|
||||
sig = signal_name_to_number(argv[i] + 1);
|
||||
if (sig == -1 && isdigit(argv[1][1]))
|
||||
sig = atoi(argv[1] + 1);
|
||||
|
Reference in New Issue
Block a user