logind-user: log about the right unit
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
f7adeaeb89
commit
bbd2620022
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user