]> git.ipfire.org Git - thirdparty/systemd.git/commit
util-lib: beef path_is_os_tree() up a bit
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Dec 2016 16:19:27 +0000 (17:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Dec 2016 19:00:08 +0000 (20:00 +0100)
commit7dcdb24e192c664d1e84db748fa38819f3daa693
tree58f4714a75fa50090c8150bd4ba9a61b602f9dfa
parent245f1d244b3a91e7cc18ed2d21226292251b934d
util-lib: beef path_is_os_tree() up a bit

Let's use chase_symlinks() when looking for /etc/os-release and
/usr/lib/os-release as these files might be symlinks (and actually are IRL on
some distros).
src/basic/stat-util.c
src/test/test-stat-util.c