summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-nostart
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-init-nostart')
-rw-r--r--autoscripts/postinst-init-nostart2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init-nostart b/autoscripts/postinst-init-nostart
index ec6bdbd6..6ccb4830 100644
--- a/autoscripts/postinst-init-nostart
+++ b/autoscripts/postinst-init-nostart
@@ -1,7 +1,7 @@
if [ -x "/etc/init.d/#SCRIPT#" ]; then
# In case this system is running systemd, we need to ensure that all
# necessary tmpfiles (if any) are created before starting.
- if [ -d /sys/fs/cgroup/systemd ] ; then
+ if [ -d /run/systemd/system ] ; then
systemd-tmpfiles --create >/dev/null || true
fi