fix ABRT on service file reloading
Resolves: rhbz#732020
This commit is contained in:
parent
c0cb8846b9
commit
ea5796cf9b
19
systemd-git-e191553d1dc80cd6d65d05f0cb29f8967fab6983.patch
Normal file
19
systemd-git-e191553d1dc80cd6d65d05f0cb29f8967fab6983.patch
Normal file
@ -0,0 +1,19 @@
|
||||
commit e191553d1dc80cd6d65d05f0cb29f8967fab6983
|
||||
Author: Kay Sievers <kay.sievers@vrfy.org>
|
||||
Date: Wed Aug 17 19:38:07 2011 +0200
|
||||
|
||||
convert int to boolean for dbus_bool_t
|
||||
|
||||
diff --git a/src/dbus-manager.c b/src/dbus-manager.c
|
||||
index ae88895..cfc2afc 100644
|
||||
--- a/src/dbus-manager.c
|
||||
+++ b/src/dbus-manager.c
|
||||
@@ -444,7 +444,7 @@ static DBusMessage *message_from_file_changes(
|
||||
if (carries_install_info >= 0) {
|
||||
dbus_bool_t b;
|
||||
|
||||
- b = carries_install_info;
|
||||
+ b = !!carries_install_info;
|
||||
if (!dbus_message_iter_append_basic(&iter, DBUS_TYPE_BOOLEAN, &b))
|
||||
goto oom;
|
||||
}
|
Loading…
Reference in New Issue
Block a user