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" 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