Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
kiwi
:
Appliance
>
dracut
> 0065-watchdog-clean-return-of-installkernel.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0065-watchdog-clean-return-of-installkernel.patch of Package dracut
From 036d4411771eca5d89a217cf4e70ce11c9af57c6 Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@redhat.com> Date: Mon, 18 Apr 2016 15:49:06 +0200 Subject: [PATCH] watchdog: clean return of installkernel() return 0, otherwise if _alldrivers is empty, the return code is fail --- modules.d/04watchdog/module-setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules.d/04watchdog/module-setup.sh b/modules.d/04watchdog/module-setup.sh index 04686f61..7b2685d4 100755 --- a/modules.d/04watchdog/module-setup.sh +++ b/modules.d/04watchdog/module-setup.sh @@ -74,4 +74,6 @@ installkernel() { # ensure that watchdog module is loaded as early as possible _alldrivers="${!_drivers[*]}" [[ $_alldrivers ]] && echo "rd.driver.pre=${_alldrivers// /,}" > ${initdir}/etc/cmdline.d/00-watchdog.conf + + return 0 }