diff options
author | kib <kib@FreeBSD.org> | 2010-02-25 13:53:09 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-02-25 13:53:09 +0000 |
commit | 2705e272e16f3352f585937363f0557635e5149f (patch) | |
tree | 0ef0b15f2bc2cc8e0c0689026e44080162680ae2 /bin | |
parent | e2b46d611bb185c62d8f4cc41b874a385e7916b9 (diff) | |
download | FreeBSD-src-2705e272e16f3352f585937363f0557635e5149f.zip FreeBSD-src-2705e272e16f3352f585937363f0557635e5149f.tar.gz |
Do not restrict the allowed signals that can be specified by number
to the list of signals that has symbolic name. It was impossible to
send rt signals with kill(1) due to the check.
MFC after: 1 week
Diffstat (limited to 'bin')
-rw-r--r-- | bin/kill/kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/kill/kill.c b/bin/kill/kill.c index bb9982e..8ee1d85 100644 --- a/bin/kill/kill.c +++ b/bin/kill/kill.c @@ -108,7 +108,7 @@ main(int argc, char *argv[]) numsig = strtol(*argv, &ep, 10); if (!**argv || *ep) errx(1, "illegal signal number: %s", *argv); - if (numsig < 0 || numsig >= sys_nsig) + if (numsig < 0) nosig(*argv); } else nosig(*argv); |