mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-11-05 16:26:13 +01:00
Merge pull request #95 from Dragon8oy/fix-root-args
Fix arguments being passed while authenticating
This commit is contained in:
commit
0865030039
@ -205,7 +205,7 @@ install() {
|
|||||||
# persisted execution of the script as root
|
# persisted execution of the script as root
|
||||||
if [[ -n ${tui_root_login} ]] ; then
|
if [[ -n ${tui_root_login} ]] ; then
|
||||||
if [[ -n "${theme}" && -n "${screen}" ]]; then
|
if [[ -n "${theme}" && -n "${screen}" ]]; then
|
||||||
sudo -S <<< ${tui_root_login} $0 --${theme} --${icon} --${screen} --${custom_background}
|
sudo -S <<< ${tui_root_login} $0 "${PROG_ARGS[@]}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
read -p "[ Trusted ] Specify the root password : " -t${MAX_DELAY} -s
|
read -p "[ Trusted ] Specify the root password : " -t${MAX_DELAY} -s
|
||||||
|
Loading…
Reference in New Issue
Block a user