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