Commit 564ae2bd authored by Sebastian Ramacher's avatar Sebastian Ramacher

Children should not fork

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent fec81cf4
......@@ -233,6 +233,7 @@ main(int argc, char* argv[])
girara_error("Could not start new process group: %s", strerror(errno));
return -1;
}
break;
} else if (pid < 0) { /* error */
girara_error("Could not fork: %s", strerror(errno));
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment