From: Harald Hoyer Date: Mon, 18 Apr 2016 13:49:06 +0000 (+0200) Subject: watchdog: clean return of installkernel() X-Git-Tag: 045~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe83231e30d5bc94e090d02e65f0e3cbef20c6ac;p=thirdparty%2Fdracut.git watchdog: clean return of installkernel() return 0, otherwise if _alldrivers is empty, the return code is fail --- diff --git a/modules.d/04watchdog/module-setup.sh b/modules.d/04watchdog/module-setup.sh index 04686f618..7b2685d4c 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 }