fix: shellcheck for modules.d/50gensplash/module-setup.sh

master
Harald Hoyer 2021-02-12 13:26:11 +01:00 committed by Harald Hoyer
parent cdf03476d1
commit 5feb62872e
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ install() {
call_splash_geninitramfs() {
local _out _ret

_out=$(splash_geninitramfs -c "$1" ${@:2} 2>&1)
_out=$(splash_geninitramfs -c "$1" "${@:2}" 2>&1)
_ret=$?

if [[ ${_out} ]]; then
@ -52,7 +52,7 @@ install() {
_splash_res=${DRACUT_GENSPLASH_RES}
elif [[ ${hostonly} ]]; then
# Settings from config only in hostonly
[[ -e $dracutsysrootdir/etc/conf.d/splash ]] && source $dracutsysrootdir/etc/conf.d/splash
[[ -e $dracutsysrootdir/etc/conf.d/splash ]] && source "$dracutsysrootdir"/etc/conf.d/splash
[[ ! ${_splash_theme} ]] && _splash_theme=default
[[ ${_splash_res} ]] && _opts+=" -r ${_splash_res}"
else