b3cd9f
From 8a4e5b5988d716259ad5b684dc2814d265007cb5 Mon Sep 17 00:00:00 2001
b3cd9f
From: Peter Levine <plevine457@gmail.com>
b3cd9f
Date: Mon, 1 Feb 2021 22:17:06 -0500
b3cd9f
Subject: [PATCH] fix(watchdog): replace return with echo
b3cd9f
b3cd9f
(cherry picked from commit c35cbd2e561714207388af69820cee2743dbcbc3)
b3cd9f
b3cd9f
Resolves: #1890039
b3cd9f
---
b3cd9f
 modules.d/04watchdog/module-setup.sh | 3 ++-
b3cd9f
 1 file changed, 2 insertions(+), 1 deletion(-)
b3cd9f
b3cd9f
diff --git a/modules.d/04watchdog/module-setup.sh b/modules.d/04watchdog/module-setup.sh
b3cd9f
index 15bcd897..fdc62986 100755
b3cd9f
--- a/modules.d/04watchdog/module-setup.sh
b3cd9f
+++ b/modules.d/04watchdog/module-setup.sh
b3cd9f
@@ -7,7 +7,8 @@ check() {
b3cd9f
 
b3cd9f
 # called by dracut
b3cd9f
 depends() {
b3cd9f
-    return "watchdog-modules"
b3cd9f
+    echo watchdog-modules
b3cd9f
+    return 0
b3cd9f
 }
b3cd9f
 
b3cd9f
 # called by dracut
b3cd9f