|
|
@ -201,7 +201,7 @@ int main(int argc, char *argv[]) { |
|
|
|
bool no_splash = false; |
|
|
|
bool no_splash = false; |
|
|
|
#else |
|
|
|
#else |
|
|
|
if(shouldDaemonize && daemon(1, 0) != 0) { |
|
|
|
if(shouldDaemonize && daemon(1, 0) != 0) { |
|
|
|
qCritical("Something went wrong while transforming into a daemon, exiting..."); |
|
|
|
qCritical("Something went wrong while daemonizing, exiting..."); |
|
|
|
return EXIT_FAILURE; |
|
|
|
return EXIT_FAILURE; |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|