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