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