Blame SOURCES/0440-watchdog-clean-return-of-installkernel.patch

a0a3b4
From 0eb1ee3db2f905c17757a06f77a5d79a351b3d33 Mon Sep 17 00:00:00 2001
a0a3b4
From: Harald Hoyer <harald@redhat.com>
a0a3b4
Date: Mon, 18 Apr 2016 15:49:06 +0200
a0a3b4
Subject: [PATCH] watchdog: clean return of installkernel()
a0a3b4
a0a3b4
return 0, otherwise if _alldrivers is empty, the return code is fail
a0a3b4
---
a0a3b4
 modules.d/04watchdog/module-setup.sh | 2 ++
a0a3b4
 1 file changed, 2 insertions(+)
a0a3b4
a0a3b4
diff --git a/modules.d/04watchdog/module-setup.sh b/modules.d/04watchdog/module-setup.sh
1755ca
index 31102f4e..fbf6d6dd 100755
a0a3b4
--- a/modules.d/04watchdog/module-setup.sh
a0a3b4
+++ b/modules.d/04watchdog/module-setup.sh
a0a3b4
@@ -73,4 +73,6 @@ installkernel() {
a0a3b4
     # ensure that watchdog module is loaded as early as possible
a0a3b4
     _alldrivers="${!_drivers[*]}"
a0a3b4
     [[ $_alldrivers ]] && echo "rd.driver.pre=${_alldrivers// /,}" > ${initdir}/etc/cmdline.d/00-watchdog.conf
a0a3b4
+
a0a3b4
+    return 0
a0a3b4
 }