summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/start-stop-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index 5529e85..f0f4795 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -166,7 +166,7 @@ parse_signal(const char *sig)
return -1;
if (sscanf(sig, "%u", &i) == 1) {
- if (i >= 0 && i < NSIG)
+ if (i < NSIG)
return i;
eerrorx("%s: `%s' is not a valid signal", applet, sig);
}