Loop root password if error

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

4
archfi
View file

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