summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-12-27 01:49:08 -0500
committerMike Gilbert <floppym@gentoo.org>2018-12-27 01:49:08 -0500
commitba65137ede3929f4cc095f6afd9feb6791222530 (patch)
tree6058a9feffc9c7059b4c72017c03dc58251eaf53 /sys-apps
parentsystemd.eclass: systemd_reenable: always pass a non-blank value to --root (diff)
downloadgentoo-ba65137ede3929f4cc095f6afd9feb6791222530.tar.gz
gentoo-ba65137ede3929f4cc095f6afd9feb6791222530.tar.bz2
gentoo-ba65137ede3929f4cc095f6afd9feb6791222530.zip
sys-apps/systemd: fixup postinst logic
Package-Manager: Portage-2.3.52_p18, Repoman-2.3.12_p30 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/systemd/systemd-240.ebuild2
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/systemd/systemd-240.ebuild b/sys-apps/systemd/systemd-240.ebuild
index 84248ba4f3a..df6e7a98ecd 100644
--- a/sys-apps/systemd/systemd-240.ebuild
+++ b/sys-apps/systemd/systemd-240.ebuild
@@ -436,7 +436,7 @@ pkg_postinst() {
if [[ -z ${ROOT} && -d /run/systemd/system ]]; then
ebegin "Reexecuting system manager"
- systemctl daemon-reexec || FAIL=1
+ systemctl daemon-reexec
eend $?
fi
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 84248ba4f3a..df6e7a98ecd 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -436,7 +436,7 @@ pkg_postinst() {
if [[ -z ${ROOT} && -d /run/systemd/system ]]; then
ebegin "Reexecuting system manager"
- systemctl daemon-reexec || FAIL=1
+ systemctl daemon-reexec
eend $?
fi