summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMauro Dreissig <mukadr@gmail.com>2013-01-30 16:55:24 -0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-01-30 23:37:39 -0500
commit883127fd84a05927f33fd25c868c52cce2123362 (patch)
treea7bc17397fb8ece4029b4fb08694830522672a8b /src
parent2a4b7e7bf2465112415907eef238c786ea145b06 (diff)
systemctl: Fix wrong assertion test
Diffstat (limited to 'src')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 408a4f0506..5deacbf36b 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -1013,7 +1013,7 @@ static int dot_one(DBusConnection *bus, const char *name, const char *path) {
while (dbus_message_iter_get_arg_type(&sub) != DBUS_TYPE_INVALID) {
const char *prop;
- assert(dbus_message_iter_get_arg_type(&sub) != DBUS_TYPE_DICT_ENTRY);
+ assert(dbus_message_iter_get_arg_type(&sub) == DBUS_TYPE_DICT_ENTRY);
dbus_message_iter_recurse(&sub, &sub2);
if (bus_iter_get_basic_and_next(&sub2, DBUS_TYPE_STRING, &prop, true) < 0 ||