Fixing compiler warning.
This commit is contained in:
1 parent
387739c84f
commit
293286900c
1 file changed
+2
-1
@@ -15,7 +15,8 @@ int main(int argc, char *argv[])
|
||||
QCoreApplication a(argc, argv);
|
||||
CleanerServer server;
|
||||
#ifndef _WIN32
|
||||
daemon(0, 0);
|
||||
if (daemon(0, 0) != 0)
|
||||
return -1;
|
||||
#endif
|
||||
return a.exec();
|
||||
}
|
||||
Reference in new issue
Block a user