]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/manager: honor show_status_overridden in manager_watch_jobs_next_time()
authorMike Yuan <me@yhndnzj.com>
Fri, 19 Sep 2025 17:35:08 +0000 (19:35 +0200)
committerMike Yuan <me@yhndnzj.com>
Fri, 19 Sep 2025 22:01:54 +0000 (00:01 +0200)
Prompted by #39029

src/core/manager.c

index cca2628177292466c960211c8b5ec51ca41b6f6d..520434993f8d06ad288d59f0c940e780463a50d2 100644 (file)
@@ -137,7 +137,7 @@ static usec_t manager_watch_jobs_next_time(Manager *m) {
                 /* Let the user manager without a timeout show status quickly, so the system manager can make
                  * use of it, if it wants to. */
                 timeout = JOBS_IN_PROGRESS_WAIT_USEC * 2 / 3;
-        else if (show_status_on(m->show_status))
+        else if (manager_get_show_status_on(m))
                 /* When status is on, just use the usual timeout. */
                 timeout = JOBS_IN_PROGRESS_WAIT_USEC;
         else