tfix fork() regression introduced in 60e5e4b10104014295dd9c9867900f4c72a8cffe - geomyidae - A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log
Files
Refs
README
LICENSE
---
commit 7d6e2741cba15fa46a3f19c6bfcaa47f6feb558b
parent c34197096e645ab4e8e97fb10027562f90a21bc1
Author: Hiltjo Posthuma 
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:
  main.c                              |       2 ++

1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/main.c b/main.c
t@@ -406,6 +406,8 @@ main(int argc, char *argv[])
                 case -1:
                         perror("fork");
                         return 1;
+                case 0:
+                        break;
                 default:
                         return 0;
                 }