diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-01-15 18:49:31 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-01-15 18:49:31 -0500 |
commit | ec76596cab6298ae1fb9d7cbe4ad56f175e87943 (patch) | |
tree | f831e3e4d2f1d917ff569a2218e3e5b1d0f2fc58 /src/systemctl | |
parent | cd7409576d36baeb4ccc93471d3bd9d72a436d59 (diff) |
systemctl: fix assertion hit by incorrect comparison
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 66d031dae8..7cf51dceb8 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -672,7 +672,7 @@ static int list_unit_files(DBusConnection *bus, char **args) { UnitFileList *u; const char *state; - assert(dbus_message_iter_get_arg_type(&sub) != DBUS_TYPE_STRUCT); + assert(dbus_message_iter_get_arg_type(&sub) == DBUS_TYPE_STRUCT); if (c >= n_units) { UnitFileList *w; |