summaryrefslogtreecommitdiffstats
path: root/hook
diff options
context:
space:
mode:
Diffstat (limited to 'hook')
-rw-r--r--hook/99-pacman-offline.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook/99-pacman-offline.hook b/hook/99-pacman-offline.hook
index 1228d5a..0538072 100644
--- a/hook/99-pacman-offline.hook
+++ b/hook/99-pacman-offline.hook
@@ -8,4 +8,4 @@ Target = *
[Action]
Description = Disabling scheduled pacman offline update...
When = PostTransaction
-Exec = /usr/bin/rm -fv /system-update /run/systemd/system/systemd-reboot.service
+Exec = /bin/sh -c 'rm -fv /system-update /run/systemd/system/systemd-reboot.service && systemctl daemon-reload'