Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 5/8] systemd.eclass: Add missing ||die on ntp file writes
Date: Mon, 30 Nov 2015 15:06:38
Message-Id: 1448895682-19312-6-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [v2] systemd.eclass cleanup & EAPI 6 support by "Michał Górny"
1 ---
2 eclass/systemd.eclass | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5 diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
6 index e4349bc..8ec0c5d 100644
7 --- a/eclass/systemd.eclass
8 +++ b/eclass/systemd.eclass
9 @@ -296,7 +296,7 @@ systemd_enable_ntpunit() {
10 if [[ ! -f "${D}${unitdir}/${s}" ]]; then
11 die "ntp-units.d provider ${s} not installed (yet?) in \${D}."
12 fi
13 - echo "${s}" >> "${T}"/${ntpunit_name}.list
14 + echo "${s}" >> "${T}"/${ntpunit_name}.list || die
15 done
16
17 (
18 --
19 2.6.3