diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2021-11-12 05:53:41 +0100 |
---|---|---|
committer | Emanoil Kotsev <deloptes@gmail.com> | 2024-11-09 18:49:26 +0000 |
commit | 0d015243b3305fbd8f2453c917f4b38b007dddbd (patch) | |
tree | aeab0ef8287c2521f0583d606c3261ce7c96ee99 | |
parent | 89b1302ca54bc14b96d620d1efa79ebf08fe93a1 (diff) | |
download | kdbusnotification-0d015243b3305fbd8f2453c917f4b38b007dddbd.tar.gz kdbusnotification-0d015243b3305fbd8f2453c917f4b38b007dddbd.zip |
Exit with -1 if connection to DBus fails
-rw-r--r-- | src/daemon/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 7c3ca9e..8719153 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -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 { |