]> git.ipfire.org Git - thirdparty/systemd.git/commit
build-path: make invoke_callout_binary() honour $PATH as last resort
authorLennart Poettering <lennart@poettering.net>
Wed, 26 Mar 2025 15:15:25 +0000 (11:15 -0400)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 3 Apr 2025 10:40:30 +0000 (19:40 +0900)
commit2caa462504af4f29a2df6805639b026d901099cd
treee6a5fda20c8b909a79b45b34542194772764690d
parentf5729bbb1e5505c6817ac68e3c49e0bcd0361930
build-path: make invoke_callout_binary() honour $PATH as last resort

If we cannot find the callout we need in the build dir let's look for it
in $PATH as last resort.

This makes invoke_callout_binary() usable for all binaries we install
into $PATH (as opposed to /usr/lib/systemd), but has no effect
on callout binaries specified with full path.

This is useful, since we soon want to invoke journalctl as a callout.
src/basic/build-path.c