Loop root password if error

This commit is contained in:
MatMoul 2020-04-03 21:03:03 +02:00
parent 05bb9f2011
commit 1c9095692b

6
archfi
View file

@ -1165,7 +1165,11 @@ archsetrootpassword(){
}
archsetrootpasswordchroot(){
echo "passwd root"
passwd root
passed=1
while [[ ${passed} != 0 ]]; do
passwd root
passed=$?
done
exit
}