diff options
author | wosch <wosch@FreeBSD.org> | 1996-01-22 08:06:13 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1996-01-22 08:06:13 +0000 |
commit | a447e85f39ce79de3c25035acf926a5082e32213 (patch) | |
tree | 12ec78ee75c7c198162b2a9f29aec83a8c51f147 /usr.bin | |
parent | 6c7c7b6c89984c5f332a07df1bc580151082ed9c (diff) | |
download | FreeBSD-src-a447e85f39ce79de3c25035acf926a5082e32213.zip FreeBSD-src-a447e85f39ce79de3c25035acf926a5082e32213.tar.gz |
Bugfix: allow digits in signal names (usr1, usr2)
Diffstat (limited to 'usr.bin')
-rwxr-xr-x | usr.bin/killall/killall.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/killall/killall.pl b/usr.bin/killall/killall.pl index e6a58b5..a34ea64 100755 --- a/usr.bin/killall/killall.pl +++ b/usr.bin/killall/killall.pl @@ -33,7 +33,7 @@ # Note: work only with effective uid due the limit of procfs # (eg. not with suid programs) # -# $Id: killall,v 1.2 1995/06/24 11:12:38 w Exp w $ +# $Id: killall.pl,v 1.1.1.1 1995/06/25 18:08:27 joerg Exp $ # $ENV{'PATH'} = "/bin:/usr/bin"; @@ -59,7 +59,7 @@ while ($_ = $ARGV[0], /^-/) { elsif (/^-l$/) { exec 'kill', '-l' } elsif (/^-m$/) { $match = 1 } elsif (/^-s$/) { $show = 1 } - elsif (/^-([A-Za-z]+|[0-9]+)$/) { $signal = $1 } + elsif (/^-([a-z][a-z0-9]+|[0-9]+)$/i) { $signal = $1 } } $program = $_; &usage unless $program; |