Blame 0065-watchdog-clean-return-of-installkernel.patch

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