diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-23 23:55:04 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-23 23:55:04 +0100 |
commit | 3775671a7a4e710ad545fc742e8cff5654a326dd (patch) | |
tree | 358a023cff4587356e9133abd5204cce2c0faa7e | |
parent | daemonise (diff) | |
download | sat-3775671a7a4e710ad545fc742e8cff5654a326dd.tar.gz sat-3775671a7a4e710ad545fc742e8cff5654a326dd.tar.bz2 sat-3775671a7a4e710ad545fc742e8cff5654a326dd.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/daemonise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemonise.c b/src/daemonise.c index 8d6ec77..d98e134 100644 --- a/src/daemonise.c +++ b/src/daemonise.c @@ -156,7 +156,7 @@ int daemonise(const char* name, int flags) return errno = EINVAL, -1; - /* Close all files except stdin, stdou, and stderr. */ + /* Close all files except stdin, stdout, and stderr. */ if ((flags & DAEMONISE_NO_CLOSE) == 0) { if (getrlimit(RLIMIT_NOFILE, &rlimit)) |