commit 7d6e2741cba15fa46a3f19c6bfcaa47f6feb558b
parent c34197096e645ab4e8e97fb10027562f90a21bc1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 30 Oct 2017 18:42:30 +0100
fix fork() regression introduced in 60e5e4b10104014295dd9c9867900f4c72a8cffe
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/main.c b/main.c
@@ -406,6 +406,8 @@ main(int argc, char *argv[])
case -1:
perror("fork");
return 1;
+ case 0:
+ break;
default:
return 0;
}