aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-09-04 13:24:26 +0100
committerRoy Marples <roy@marples.name>2009-09-04 13:24:26 +0100
commit2ea1df634e356a580c5cf98df5e4e57da39dacbe (patch)
tree4aece7480074b53d191dfa3468c39d2a10141cfa
parent807e5d725086832b899ba03a2203824ecf296d8b (diff)
Fix signed error.
-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 5529e858..f0f47950 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);
}