summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/miavd.cc4
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);
}