Exit with -1 if connection to DBus fails

Emanoil Kotsev 3 years ago
parent b7fd41187c
commit ea043bb9d8
Signed by: deloptes
GPG Key ID: F1EEB8CD9FB16A50

@ -60,7 +60,7 @@ main(int argc, char **argv)
// debug message for testing
tqDebug(i18n("Can't connect to DBus!\n").local8Bit());
KUniqueApplication::kApplication()->quit();
return 0;
return -1;
}
else
{

Loading…
Cancel
Save