1 diff -aur slim-1.3.2.a/app.cpp slim-1.3.2.b/app.cpp
2 --- slim-1.3.2.a/app.cpp 2010-08-21 15:10:13.702755711 +0200
3 +++ slim-1.3.2.b/app.cpp 2010-08-21 15:10:48.579631179 +0200
5 signal(SIGALRM, AlarmSignal);
10 if (!force_nodaemon && cfg->getOption("daemon") == "yes") {
16 - if (daemon(0, 1) == -1) {
17 + if (daemon(0, 0) == -1) {
18 cerr << APPNAME << ": " << strerror(errno) << endl;
26 + if (daemonmode) UpdatePid();