Blob Blame History Raw
From 8a4e5b5988d716259ad5b684dc2814d265007cb5 Mon Sep 17 00:00:00 2001
From: Peter Levine <plevine457@gmail.com>
Date: Mon, 1 Feb 2021 22:17:06 -0500
Subject: [PATCH] fix(watchdog): replace return with echo

(cherry picked from commit c35cbd2e561714207388af69820cee2743dbcbc3)

Resolves: #1890039
---
 modules.d/04watchdog/module-setup.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules.d/04watchdog/module-setup.sh b/modules.d/04watchdog/module-setup.sh
index 15bcd897..fdc62986 100755
--- a/modules.d/04watchdog/module-setup.sh
+++ b/modules.d/04watchdog/module-setup.sh
@@ -7,7 +7,8 @@ check() {
 
 # called by dracut
 depends() {
-    return "watchdog-modules"
+    echo watchdog-modules
+    return 0
 }
 
 # called by dracut