Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 01 Dec 2015 22:07:41
Message-Id: 1449007637.3018289c5b34015e7610602b7d9fdae54e4a2967.mgorny@gentoo
1 commit: 3018289c5b34015e7610602b7d9fdae54e4a2967
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 27 14:38:18 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 22:07:17 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3018289c
7
8 systemd.eclass: Add missing ||die on ntp file writes
9
10 eclass/systemd.eclass | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
14 index e4349bc..8ec0c5d 100644
15 --- a/eclass/systemd.eclass
16 +++ b/eclass/systemd.eclass
17 @@ -296,7 +296,7 @@ systemd_enable_ntpunit() {
18 if [[ ! -f "${D}${unitdir}/${s}" ]]; then
19 die "ntp-units.d provider ${s} not installed (yet?) in \${D}."
20 fi
21 - echo "${s}" >> "${T}"/${ntpunit_name}.list
22 + echo "${s}" >> "${T}"/${ntpunit_name}.list || die
23 done
24
25 (