]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/delta/delta.c
delta: skip symlink paths when split-usr is enabled (#4591)
authorFelipe Sateler <fsateler@users.noreply.github.com>
Sun, 6 Nov 2016 14:16:42 +0000 (11:16 -0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 6 Nov 2016 14:16:42 +0000 (09:16 -0500)
commitb05422a8cf87c95e8fc801add5349b3f5d027f66
treed2fcdeabd7f86b9f95dd6a4915fce2afbe367303
parent9bda42660d25da05210bd11e482a8e02c4e6b326
delta: skip symlink paths when split-usr is enabled (#4591)

If systemd is built with --enable-split-usr, but the system is indeed a
merged-usr system, then systemd-delta gets all confused and reports
that all units and configuration files have been overridden.

Skip any prefix paths that are symlinks in this case.

Fixes: #4573
src/delta/delta.c