summarylogtreecommitdiffstats
path: root/get-state.patch
blob: f1ce7373234df7a1f655abd149b6efe008e82697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --unified --recursive --text chkservice.orig/src/chk-systemd.cpp chkservice/src/chk-systemd.cpp
--- chkservice.orig/src/chk-systemd.cpp	2019-11-01 20:50:21.000000000 +0100
+++ chkservice/src/chk-systemd.cpp	2021-07-04 16:49:24.069844808 +0200
@@ -117,9 +117,6 @@
   finish:
     sd_bus_error_free(&error);
     sd_bus_message_unref(busMessage);
-    if (state < 0) {
-      throw std::string(errorMessage);
-    }
 
   return status < 0 ? NULL : strdup(state);
 }