diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-15 01:48:21 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-15 01:48:21 +0000 |
commit | f5504bb324699b6d41fe7e9efaea729fec654f38 (patch) | |
tree | d89c5d3eaf0febd81ea8541fbe285f9a6cb6201f /src/daemon.hpp | |
parent | add multi kd support (diff) |
small cleanup
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"; |