mirror of https://github.com/dynup/kpatch
kpatch/kpatch: silence shellcheck warning
Hiding the return value isn't an issue here, but lets keep shellcheck happy.
This commit is contained in:
parent
554e8839e3
commit
73cf473a21
|
@ -160,7 +160,8 @@ load_module () {
|
|||
fi
|
||||
fi
|
||||
|
||||
local modname="$(get_module_name "$module")"
|
||||
local modname
|
||||
modname="$(get_module_name "$module")"
|
||||
local moddir="$SYSFS/$modname"
|
||||
if [[ -d "$moddir" ]] ; then
|
||||
if [[ "$(cat "${moddir}/enabled")" -eq 0 ]]; then
|
||||
|
|
Loading…
Reference in New Issue