summaryrefslogtreecommitdiff
path: root/src/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kill.c')
-rw-r--r--src/kill.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kill.c b/src/kill.c
index d1b836b6..724667e0 100644
--- a/src/kill.c
+++ b/src/kill.c
@@ -1,5 +1,5 @@
/* kill -- send a signal to a process
- Copyright (C) 2002-2013 Free Software Foundation, Inc.
+ Copyright (C) 2002-2014 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -306,7 +306,7 @@ main (int argc, char **argv)
usage (EXIT_FAILURE);
}
- return (list
- ? list_signals (table, optind < argc ? argv + optind : NULL)
- : send_signals (signum, argv + optind));
+ exit (list
+ ? list_signals (table, optind < argc ? argv + optind : NULL)
+ : send_signals (signum, argv + optind));
}