diff --git a/modules.d/50gensplash/module-setup.sh b/modules.d/50gensplash/module-setup.sh index ec6af885..beed3c23 100755 --- a/modules.d/50gensplash/module-setup.sh +++ b/modules.d/50gensplash/module-setup.sh @@ -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