]> www.infradead.org Git - users/dwmw2/crm114-spamd.git/commitdiff
fix typo
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 5 Oct 2007 15:19:12 +0000 (17:19 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Fri, 5 Oct 2007 15:19:12 +0000 (17:19 +0200)
crm114-spamd.c

index cdd61ee77b71d56e800b92edd128a68eeffd645a..c03446dd60e0f46ab6d5e550563325d5fc2950c3 100644 (file)
@@ -108,7 +108,7 @@ int main(int argc, char **argv)
        if (setuid(ps->pw_uid))
                ERROR(EX_TEMPFAIL, "cannot setuid");
        pid = fork();
-       if (pid < 1)
+       if (pid < 0)
                ERROR(EX_TEMPFAIL, "couldn't fork");
        if (pid)
                exit(0);