chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:35 +0000 (17:58 +0200)
commitb9a2add4c257e40e60e49eb4edaf7925ba569c78
treeebd5d0cc8f8ecd034d8cf7e6bd1a1f528ce3cd53
parentc7a64b3cac7ac3db89bbe0b9b1e826cd65e44b5d
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