diff options
Diffstat (limited to 'src/daemon.hpp')
-rw-r--r-- | src/daemon.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.hpp b/src/daemon.hpp index d66549b..11d7d40 100644 --- a/src/daemon.hpp +++ b/src/daemon.hpp @@ -63,7 +63,7 @@ void daemonize() close(fd); fd = open("/dev/null",O_RDWR); // stdin if(fd == -1) - cLog.msg(Log::PRIO_WARNING) << "can't open stdin"; + cLog.msg(Log::PRIO_WARNING) << "can't open stdin (chroot and no link to /dev/null?)"; else { if(dup(fd) == -1) // stdout cLog.msg(Log::PRIO_WARNING) << "can't open stdout"; |