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

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