Prompt the user again if they don't get the root password right.

This commit is contained in:
Brian Vincent 2003-03-24 19:29:38 +00:00 committed by Alexandre Julliard
parent 978f29db41
commit d6841ee98d
1 changed files with 14 additions and 10 deletions

View File

@ -313,16 +313,20 @@ then {
if ! su root -c "$sucommand"
then {
echo
echo "Either you entered an incorrect password or we failed to run"
echo "'$sucommand' correctly."
echo "If you didn't enter an incorrect password then please report this"
echo "error and any steps to possibly reproduce it to"
echo "http://bugs.winehq.com/"
echo
echo "Installation failed, aborting."
exit 1
}
if ! su root -c "$sucommand"
then {
echo
echo "Either you entered an incorrect password or we failed to"
echo "run '$sucommand' correctly."
echo "If you didn't enter an incorrect password then please"
echo "report this error and any steps to possibly reproduce it to"
echo "http://bugs.winehq.com/"
echo
echo "Installation failed, aborting."
exit 1
}
fi
}
fi
echo