]> git.ipfire.org Git - thirdparty/systemd.git/commit
offline-passwd: use chase_symlinks()
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Jul 2020 14:25:45 +0000 (16:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Jul 2020 20:31:00 +0000 (22:31 +0200)
commit002674387c595322ced45797652707f253d92f13
tree313f8266e4ddb0673c254258e66a0aed01d8c4a1
parent628db21130acd2fc378b1ce0abc9969673267d3a
offline-passwd: use chase_symlinks()

In case the passwd/group file is symlinked, follow things correctly.

Follow-up for: #16512
Addresses: https://github.com/systemd/systemd/pull/16512#discussion_r458073677
src/shared/offline-passwd.c