diff options
Diffstat (limited to 'src/daemon.hpp')
-rw-r--r-- | src/daemon.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/daemon.hpp b/src/daemon.hpp index 13c4132..be5c710 100644 --- a/src/daemon.hpp +++ b/src/daemon.hpp @@ -1,3 +1,6 @@ +#ifndef _DAEMON_HPP +#define _DAEMON_HPP +#ifndef NODAEMON void chrootAndDrop(std::string const& chrootdir, std::string const& username) { @@ -51,5 +54,6 @@ void daemonize() dup(fd); // stderr umask(027); } - +#endif +#endif |