]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: make all paths we operation on absolute
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Mar 2023 12:09:46 +0000 (13:09 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Mar 2023 22:04:18 +0000 (23:04 +0100)
commita3c3386eacb9909298cdd0ae147d1a49f617defc
tree9c8933baff1412309a6e25ec4b397fff1152f9ed
parentf0a96d195af99c5ecd84cc889ec899f1c4470840
dissect: make all paths we operation on absolute

Let's avoid any ambiguities around paths, and make them absolute when
accepting them, like we do in most our tools now. This makes us
independent of the current working directory and allows us to change it
without issues or pass around the paths elsewhere if need be.
src/dissect/dissect.c