Fixing compiler warning.

This commit is contained in:
lotodore
2011-02-10 22:17:07 +00:00
parent 387739c84f
commit 293286900c
+2 -1
View File
@@ -15,7 +15,8 @@ int main(int argc, char *argv[])
QCoreApplication a(argc, argv); QCoreApplication a(argc, argv);
CleanerServer server; CleanerServer server;
#ifndef _WIN32 #ifndef _WIN32
daemon(0, 0); if (daemon(0, 0) != 0)
return -1;
#endif #endif
return a.exec(); return a.exec();
} }