summarylogtreecommitdiffstats
path: root/systemd-tmpfiles.hook
diff options
context:
space:
mode:
authorNicolas Iooss2017-08-16 20:56:01 +0200
committerNicolas Iooss2017-08-16 22:12:17 +0200
commit45679d98820bd7fc918b314f0cf894162a682b30 (patch)
tree87603cdeba67824b8757d52802195268deb2b8d7 /systemd-tmpfiles.hook
parent1b2d1d7718ab053abaa4ed72e689344c39999ae1 (diff)
downloadaur-45679d98820bd7fc918b314f0cf894162a682b30.tar.gz
systemd-selinux 234.11-8 update
Diffstat (limited to 'systemd-tmpfiles.hook')
-rw-r--r--systemd-tmpfiles.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd-tmpfiles.hook b/systemd-tmpfiles.hook
index a2c5e3ef07ad..18cdd9180d71 100644
--- a/systemd-tmpfiles.hook
+++ b/systemd-tmpfiles.hook
@@ -7,5 +7,5 @@ Target = usr/lib/tmpfiles.d/*.conf
[Action]
Description = Creating temporary files...
When = PostTransaction
-Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-tmpfiles --create "/$f"; done'
+Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-tmpfiles --create "$(basename "$f")"; done'
NeedsTargets