diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-31 00:07:20 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-31 00:07:20 +0100 |
commit | 14a910763c7d1464291d91be51ab928cc4ddf771 (patch) | |
tree | 8ef3650cd8e17f54cc932510ac7fa2cefaf40c01 | |
parent | m bug fix (diff) | |
download | slibc-14a910763c7d1464291d91be51ab928cc4ddf771.tar.gz slibc-14a910763c7d1464291d91be51ab928cc4ddf771.tar.bz2 slibc-14a910763c7d1464291d91be51ab928cc4ddf771.tar.xz |
m bug fix
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/unistd/daemonise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/daemonise.c b/src/unistd/daemonise.c index 90a9ca6..f05e118 100644 --- a/src/unistd/daemonise.c +++ b/src/unistd/daemonise.c @@ -220,7 +220,7 @@ int daemonise(const char* name, int flags, ...) /* Find out which file descriptors not too close. */ - if ((flags & DAEMONISE_KEEP_FDS) == 0) + if (flags & DAEMONISE_KEEP_FDS) { va_start(args, flags); while (va_arg(args, int) >= 0) |