commit | 2a813e20e2a8720160a059a036cb6c066044f709 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sat Dec 23 01:06:21 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sat Dec 23 01:06:21 2006 +0000 |
tree | 607468384b6707c7b60505da37d2aefc49d355cf | |
parent | 8f6c79240dc7c1e0b819a1a1309240477d8e0d84 [diff] [blame] |
fix recognitions of -SIGname signals (fix by Jacques LUDER <jacques.luder@thalesgroup.com>)
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 @@ 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 {