summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/fuser.c3
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 {