From 0d015243b3305fbd8f2453c917f4b38b007dddbd Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Fri, 12 Nov 2021 05:53:41 +0100 Subject: Exit with -1 if connection to DBus fails --- src/daemon/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon') 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 { -- cgit v1.2.1