]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
debian: don't fail postinst when upgrading chroot
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Feb 2018 01:43:58 +0000 (19:43 -0600)
committerEric Sandeen <sandeen@redhat.com>
Tue, 27 Feb 2018 01:43:58 +0000 (19:43 -0600)
commit37c528caf8e50e017417fea44df57ec152aa4f7e
treee3e6bd1b3e728a4f36695a44eb5936a815d3ad95
parent638c642d509e7fcfc2f5ead699b080a48280575e
debian: don't fail postinst when upgrading chroot

If we're upgrading a systemd-enabled chroot we'll fail because systemctl
can't connect to a running systemd (nor should it).  We don't need to
issue daemon-reload inside a chroot that doesn't have a running systemd,
so we can ignore the return value.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Nathan Scott <nathans@debian.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
debian/postinst