]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: unify two similar paths, avoid formatting of unused string
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 2 Apr 2023 11:50:29 +0000 (13:50 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 Apr 2023 13:18:00 +0000 (15:18 +0200)
commit3ff67ec43a0bfa14514cb4241e93aa36545f025c
tree0b29692a9b656c2cdfe266b44ef2ff8b69389938
parent68ecb48b90bd88c92253729304cac4647e143b8d
core: unify two similar paths, avoid formatting of unused string

After 'if (DEBUG_LOGGING)' is added, the two call sites are almost identical,
except that we forgot LOG_UNIT_INVOCATION_ID(unit).

I removed the handling of the log_oom(). It's a debug message only after all,
and it's unlikely to fail.
src/core/execute.c