roken_detach_prep() should return fd

This commit is contained in:
Nicolas Williams
2019-08-14 17:37:31 -05:00
parent 5859bc3bdf
commit 1ae941af9b
9 changed files with 62 additions and 42 deletions

View File

@@ -189,7 +189,7 @@ configure(krb5_context context, int argc, char **argv, int *optidx)
"detach", NULL);
if (detach_from_console && daemon_child == -1)
roken_detach_prep(argc, argv, "--daemon-child");
daemon_child = roken_detach_prep(argc, argv, "--daemon-child");
{
char **files;