From a923ebd3a459bd95f6c6c35e22f39ad0418be05a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 18 Jun 2014 15:23:59 +0200 Subject: Fix daemon background mode. --- src/miavd.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3