Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:lxde
slim
slim-1.3.2-daemon.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slim-1.3.2-daemon.patch of Package slim
diff -uNr old-slim-1.3.2//app.cpp slim-1.3.2/app.cpp --- old-slim-1.3.2//app.cpp 2010-07-29 11:26:08.596065439 +0200 +++ slim-1.3.2/app.cpp 2010-07-29 11:26:26.252064024 +0200 @@ -280,21 +280,22 @@ signal(SIGALRM, AlarmSignal); #ifndef XNEST_DEBUG - OpenLog(); - if (!force_nodaemon && cfg->getOption("daemon") == "yes") { daemonmode = true; } // Daemonize if (daemonmode) { - if (daemon(0, 1) == -1) { + if (daemon(0, 0) == -1) { cerr << APPNAME << ": " << strerror(errno) << endl; exit(ERR_EXIT); } - UpdatePid(); } + OpenLog(); + + if (daemonmode) UpdatePid(); + CreateServerAuth(); StartServer(); alarm(2);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor