summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-27 15:38:18 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-01 23:07:17 +0100
commit3018289c5b34015e7610602b7d9fdae54e4a2967 (patch)
tree671660b191801bc613043d2fd393077f9d143826 /eclass/systemd.eclass
parentsystemd.eclass: Remove long-deprecated systemd_to_myeconfargs (diff)
downloadgentoo-3018289c5b34015e7610602b7d9fdae54e4a2967.tar.gz
gentoo-3018289c5b34015e7610602b7d9fdae54e4a2967.tar.bz2
gentoo-3018289c5b34015e7610602b7d9fdae54e4a2967.zip
systemd.eclass: Add missing ||die on ntp file writes
Diffstat (limited to 'eclass/systemd.eclass')
-rw-r--r--eclass/systemd.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index e4349bc69ba5..8ec0c5d81384 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -296,7 +296,7 @@ systemd_enable_ntpunit() {
if [[ ! -f "${D}${unitdir}/${s}" ]]; then
die "ntp-units.d provider ${s} not installed (yet?) in \${D}."
fi
- echo "${s}" >> "${T}"/${ntpunit_name}.list
+ echo "${s}" >> "${T}"/${ntpunit_name}.list || die
done
(