diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-18 15:23:59 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-18 15:23:59 +0200 |
commit | a923ebd3a459bd95f6c6c35e22f39ad0418be05a (patch) | |
tree | 88fec666729f70f335227d495111727e4d8ad7ca | |
parent | 42c6db298f50bf2f0fc5cdeb0ebe4821e1fe7946 (diff) |
Fix daemon background mode.
-rw-r--r-- | src/miavd.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/miavd.cc b/src/miavd.cc index 3fec6e0..e9d7bc4 100644 --- a/src/miavd.cc +++ b/src/miavd.cc @@ -36,7 +36,7 @@ #include "miav_config.h" static const char version_str[] = -"Pentominos Dataserver - Miav v" VERSION "\n" +"MIaV server v" VERSION "\n" ; static const char copyright_str[] = @@ -168,5 +168,5 @@ int main(int argc, char *argv[]) if(user) cuser = user; if(group) cgroup = group; - return daemon.run(cuser, cgroup, foreground, pidfile); + return daemon.run(cuser, cgroup, !foreground, pidfile); } |