]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: only activate transaction that contain useful jobs
authorMichal Sekletar <msekleta@redhat.com>
Fri, 9 Jan 2026 16:18:41 +0000 (17:18 +0100)
committerMike Yuan <me@yhndnzj.com>
Thu, 15 Jan 2026 11:53:50 +0000 (12:53 +0100)
commitbcbf80c43d107ad233edc990a60bdc40f517085a
treee0ed2ae1092428d758c3754230d2c5410e275615
parent311fddcd8d994e8398357f53a07695fbbaf27a78
core: only activate transaction that contain useful jobs

If no real jobs were added to the transaction, do not activate it.
The JOB_NOP anchor does not perform any useful work and activating
such transaction only wastes resources.

Fixes #9751
src/core/manager.c