update-done: Do not fail with read-only /etc or /var
authorFelix Riemann <felix.riemann@sma.de>
Mon, 19 Oct 2020 16:54:53 +0000 (18:54 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 8 Dec 2020 17:08:30 +0000 (18:08 +0100)
commitcc85aa410e6218876cfe727ec39b87a008271318
tree9c2d457c7f5b5b75458c1e50cb088efa86a3201f
parent38d4fb24aa2aeef24db4f384cc808bcd833c95bb
update-done: Do not fail with read-only /etc or /var

With the switch from log_debug() to log_debug_errno() in commit c413bb28df
systemd-update-done would fail without any error message if /etc
or /var were read-only. This restores the previous behaviour to
silently ignore these directories again.

(cherry picked from commit 1eee15c3885fcc9f6a40df7e42347cb8fca71280)
src/update-done/update-done.c