The source project of this merge request has been removed.
kill: Fix argument handling for negative PIDs
When passing a negative PID to the kill program, getopt()
returns a question mark ?
.
The next character is checked. If it is a digit, atoi
is called.
This commit fixes the index of the argument being passed to atoi
, which is currently off by one.
Should fix #65 (closed).