diff options
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 4628cdf5c..a216eaec8 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 { |