logind-user: log about the right unit

This commit is contained in:
David Tardon
2022-03-24 13:53:31 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent f7adeaeb89
commit bbd2620022
+1 -1
View File
@@ -638,7 +638,7 @@ static bool user_unit_active(User *u) {
r = manager_unit_is_active(u->manager, i, &error);
if (r < 0)
log_debug_errno(r, "Failed to determine whether unit '%s' is active, ignoring: %s", u->service, bus_error_message(&error, r));
log_debug_errno(r, "Failed to determine whether unit '%s' is active, ignoring: %s", i, bus_error_message(&error, r));
if (r != 0)
return true;
}