Skip to content

Commit

Permalink
tests: Close all fds in startone
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
stgraber committed Mar 13, 2014
1 parent b099e9e commit 3f50041
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tests/startone.c
Expand Up @@ -163,6 +163,7 @@ int main(int argc, char *argv[])
exit(1);
}
c->want_daemonize(c, false);
c->want_close_all_fds(c, true);
pid_t pid = fork();
if (pid < 0) {
fprintf(stderr, "%d: fork failed\n", __LINE__);
Expand Down

0 comments on commit 3f50041

Please sign in to comment.