Prompt the user again if they don't get the root password right.
This commit is contained in:
parent
978f29db41
commit
d6841ee98d
|
@ -311,19 +311,23 @@ then {
|
||||||
|
|
||||||
std_sleep
|
std_sleep
|
||||||
|
|
||||||
|
if ! su root -c "$sucommand"
|
||||||
|
then {
|
||||||
if ! su root -c "$sucommand"
|
if ! su root -c "$sucommand"
|
||||||
then {
|
then {
|
||||||
echo
|
echo
|
||||||
echo "Either you entered an incorrect password or we failed to run"
|
echo "Either you entered an incorrect password or we failed to"
|
||||||
echo "'$sucommand' correctly."
|
echo "run '$sucommand' correctly."
|
||||||
echo "If you didn't enter an incorrect password then please report this"
|
echo "If you didn't enter an incorrect password then please"
|
||||||
echo "error and any steps to possibly reproduce it to"
|
echo "report this error and any steps to possibly reproduce it to"
|
||||||
echo "http://bugs.winehq.com/"
|
echo "http://bugs.winehq.com/"
|
||||||
echo
|
echo
|
||||||
echo "Installation failed, aborting."
|
echo "Installation failed, aborting."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue