bus-util: fix error handling

This commit is contained in:
Yu Watanabe
2018-06-25 13:08:02 +09:00
parent f18edd8a0a
commit 0ceff9068d
+1 -1
View File
@@ -937,7 +937,7 @@ int bus_message_print_all_properties(
return log_oom();
r = set_put(*found_properties, name);
if (r < 0 && r != EEXIST)
if (r < 0 && r != -EEXIST)
return log_oom();
}