summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomasz Paweł Gajc <tpgxyz@gmail.com>2022-05-28 21:38:33 +0200
committerTomasz Paweł Gajc <tpgxyz@gmail.com>2022-05-28 21:38:33 +0200
commit744984aa2dd715b739054bb11f4aba12d188476e (patch)
treefccd339ff0f03dcaa3d49d4fb6cac92cdbfdd82d /src
parentrpm: use rpm.execute() instead of fork() and execp() for trigger scriplets (diff)
downloadsystemd-744984aa2dd715b739054bb11f4aba12d188476e.tar.xz
systemd-744984aa2dd715b739054bb11f4aba12d188476e.zip
rpm: adjust lua trigger for udevadm
Diffstat (limited to 'src')
-rw-r--r--src/rpm/triggers.systemd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpm/triggers.systemd.in b/src/rpm/triggers.systemd.in
index 3d400c22c9..b563c7a739 100644
--- a/src/rpm/triggers.systemd.in
+++ b/src/rpm/triggers.systemd.in
@@ -105,7 +105,7 @@ assert(rpm.execute("systemd-tmpfiles", "--create"))
%transfiletriggerin -P 1000600 udev -p <lua> -- {{UDEV_RULES_DIR}}
-- This script will automatically update udev with new rules if files
-- have been installed or updated in {{UDEV_RULES_DIR}}.
-if posix.access("/run/systemd/system") then
+if posix.access("/run/udev/control") then
assert(rpm.execute("udevadm", "control", "--reload"))
end