summaryrefslogtreecommitdiffstats
path: root/src/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor')
-rw-r--r--src/monitor/monitor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index 3eca7649..640d94ad 100644
--- a/src/monitor/monitor.c
+++ b/src/monitor/monitor.c
@@ -2250,6 +2250,10 @@ int main(int argc, const char *argv[])
return 1;
}
+ if (!opt_daemon && !opt_interactive) {
+ opt_daemon = 1;
+ }
+
poptFreeContext(pc);
uid = getuid();