[systemd-commits] src/systemctl
Dave Reisner
dreisner at kemper.freedesktop.org
Tue Jan 15 15:49:45 PST 2013
src/systemctl/systemctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ec76596cab6298ae1fb9d7cbe4ad56f175e87943
Author: Dave Reisner <dreisner at archlinux.org>
Date: Tue Jan 15 18:49:31 2013 -0500
systemctl: fix assertion hit by incorrect comparison
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 66d031d..7cf51dc 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;
More information about the systemd-commits
mailing list