sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit f2e86862be050715a1ea576931d122ae3d1db02e
parent 8cd8d445708de7a446a6830b26dbb1b783a2c61e
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Fri Jun 10 03:12:45 +0100

kill: allow signum
Diffstat:
kill.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/kill.c b/kill.c @@ -34,6 +34,9 @@ main(int argc, char *argv[]) lflag = true; break; case 's': + sig = strtol(optarg, &end, 0); + if(*end == '\0') + break; for(i = 0; i < LEN(sigs); i++) if(!strcasecmp(optarg, sigs[i].name)) { sig = sigs[i].sig;