diff options
author | Sumit Bose <sbose@redhat.com> | 2010-12-01 13:52:58 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-01 13:50:48 -0500 |
commit | cb57f38188a761c3654c5a7aeb5adaae23bf30d5 (patch) | |
tree | e1aa289fec2cb84bfe78104dad7f3123cb0cc2f6 /src | |
parent | 40def28805f9df3ff640209def765723cd8e2de3 (diff) | |
download | sssd-cb57f38188a761c3654c5a7aeb5adaae23bf30d5.tar.gz sssd-cb57f38188a761c3654c5a7aeb5adaae23bf30d5.tar.xz sssd-cb57f38188a761c3654c5a7aeb5adaae23bf30d5.zip |
Daemonize by default
Diffstat (limited to 'src')
-rw-r--r-- | src/monitor/monitor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 3eca76498..640d94adc 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(); |