3888c9
From c14d276bc5dd17d881478bbce57d54e3c4ffb094 Mon Sep 17 00:00:00 2001
3888c9
From: Pavel Valena <pvalena@redhat.com>
3888c9
Date: Tue, 6 Dec 2022 20:35:52 +0100
3888c9
Subject: [PATCH] fix(80lvmthinpool-monitor): use systemsctl instead of
3888c9
 $SYSTEMCTL
3888c9
3888c9
as the change is not backported to RHEL-8.
3888c9
3888c9
rhel-only
3888c9
3888c9
Resolves: #2141480
3888c9
---
3888c9
 modules.d/80lvmthinpool-monitor/module-setup.sh | 2 +-
3888c9
 1 file changed, 1 insertion(+), 1 deletion(-)
3888c9
3888c9
diff --git a/modules.d/80lvmthinpool-monitor/module-setup.sh b/modules.d/80lvmthinpool-monitor/module-setup.sh
3888c9
index ca015bdc..550f3f16 100755
3888c9
--- a/modules.d/80lvmthinpool-monitor/module-setup.sh
3888c9
+++ b/modules.d/80lvmthinpool-monitor/module-setup.sh
3888c9
@@ -20,5 +20,5 @@ install() {
3888c9
     inst_script "$moddir/start-thinpool-monitor.sh" "/bin/start-thinpool-monitor"
3888c9
 
3888c9
     inst "$moddir/start-thinpool-monitor.service" "$systemdsystemunitdir/start-thinpool-monitor.service"
3888c9
-    $SYSTEMCTL -q --root "$initdir" add-wants initrd.target start-thinpool-monitor.service
3888c9
+    systemctl -q --root "$initdir" add-wants initrd.target start-thinpool-monitor.service
3888c9
 }
3888c9