diff options
author | Denis Vlasenko | 2006-12-23 01:06:21 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-23 01:06:21 +0000 |
commit | 2a813e20e2a8720160a059a036cb6c066044f709 (patch) | |
tree | 607468384b6707c7b60505da37d2aefc49d355cf /procps | |
parent | 8f6c79240dc7c1e0b819a1a1309240477d8e0d84 (diff) | |
download | busybox-2a813e20e2a8720160a059a036cb6c066044f709.zip busybox-2a813e20e2a8720160a059a036cb6c066044f709.tar.gz |
fix recognitions of -SIGname signals
(fix by Jacques LUDER <jacques.luder@thalesgroup.com>)
Diffstat (limited to 'procps')
-rw-r--r-- | procps/fuser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/procps/fuser.c b/procps/fuser.c index 4628cdf..a216eae 100644 --- a/procps/fuser.c +++ b/procps/fuser.c @@ -323,7 +323,8 @@ int fuser_main(int argc, char **argv) optn = fuser_option(argv[i]); if(optn) opt |= optn; else if(argv[i][0] == '-') { - if(0>(killsig = get_signum(argv[i]+1))) + killsig = get_signum(argv[i]+1); + if(0 > killsig) killsig = SIGTERM; } else { |