summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-11-08 11:32:20 +0000
committerMichael Meeks <michael.meeks@suse.com>2011-11-08 16:03:48 +0000
commitaacf55dbe004ae3cad720002d40dc0e408107fd3 (patch)
tree0b67d8d5caee317b199ba63a134aab2f34883e8e
parent68beee834404886a0efb749e8c041c329850e5e9 (diff)
oosplash - daemonize to help mutt users recover their sanity
-rw-r--r--desktop/unx/source/start.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index cd95d450bb14..d62713129284 100644
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -881,6 +881,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
splash_destroy(splash);
splash = NULL;
bShortWait = sal_False;
+
+ /* Since a client can't distinguish between a first-start and
+ a factory re-use, we return control to them here. */
+ daemon( 1 /* don't chdir */, 1 /* don't re-direct output */ );
}
#if OSL_DEBUG_LEVEL > 1