]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind-user: log about the right unit
authorDavid Tardon <dtardon@redhat.com>
Thu, 24 Mar 2022 07:55:24 +0000 (08:55 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 24 Mar 2022 12:53:31 +0000 (13:53 +0100)
src/login/logind-user.c

index 1312878718a29b844a8626eb1b0d43724bbe428e..3f1b8f610ba79a3a61217f39ecaaccc480c288f0 100644 (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;
         }