]> git.ipfire.org Git - thirdparty/systemd.git/commit
chase-symlinks: don't insist on absolute paths if CHASE_PREFIX_ROOT is set
authorLennart Poettering <lennart@poettering.net>
Sat, 17 Sep 2022 17:53:19 +0000 (19:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Sep 2022 11:52:01 +0000 (13:52 +0200)
commitd45dee7c0073d22943f367a35314396bb0b40168
tree76a0937745141dbb51a5a19414259823de818f64
parent13879c54d4f8b912e1f8c57e0ff7b516dd2a6f52
chase-symlinks: don't insist on absolute paths if CHASE_PREFIX_ROOT is set

There's little reason to require this, given that we can just say that
if a relative path is specified it is to be read relative to the root.

This fixes a bootctl bug introduced by
3730dc5d5b4b7c4e1e7d0957c88568cc45de2390 which didn't bother prefixing
paths as necessary.
src/basic/chase-symlinks.c