fix: shellcheck for modules.d/50gensplash/module-setup.sh
parent
cdf03476d1
commit
5feb62872e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue