commit | 82a33b3f060e163b14155e8f6833ec30514a609b | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jul 01 16:15:55 2019 -0700 |
committer | Rob Landley <rob@landley.net> | Sat Jul 06 16:15:35 2019 -0500 |
tree | 8ea5cce41b024233ef8af23dcaf12a1068e9b0be | |
parent | 3d8bbdc83d8b4891c1b887942e054974eb6291b7 [diff] |
killall: better handling of long names. Change names_to_pid() so that we can actually match shell scripts with long names (the code to get the shell script's name was correct, but there was an extra test preventing us from actually comparing it to the sought name). In kill.c itself, remove a dead test for -l and switch to the FLAG() macro. Also extend the tests to explicitly cover long and short names.