kill: print usage if no pid is passed in command line
This makes a command such as `kill -TERM` or `kill -9` fails and prints usage, instead of silently succeeding. The behavior is consistent with how `kill` behaves without an explicit signal, or with the behavior of the `kill` builtin in a shell like bash. Signed-off-by: Filipe Brandenburger <filbranden@google.com>
This commit is contained in:
1 parent
d1d2ccf732
commit
27b2937d2d
1 file changed
+3
Reference in new issue
Block a user