summaryrefslogtreecommitdiff
path: root/eclass/tmpfiles.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /eclass/tmpfiles.eclass
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'eclass/tmpfiles.eclass')
-rw-r--r--eclass/tmpfiles.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass
index a8bb9061ec8c..68478ffbcd69 100644
--- a/eclass/tmpfiles.eclass
+++ b/eclass/tmpfiles.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2016-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: tmpfiles.eclass
@@ -113,7 +113,7 @@ tmpfiles_process() {
[[ ${#} -gt 0 ]] || die "${FUNCNAME}: Must specify at least one filename"
# Only process tmpfiles for the currently running system
- if [[ ${ROOT} != / ]]; then
+ if [[ ${ROOT:-/} != / ]]; then
ewarn "Warning: tmpfiles.d not processed on ROOT != /. If you do not use"
ewarn "a service manager supporting tmpfiles.d, you need to run"
ewarn "the following command after booting (or chroot-ing with all"