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