Loop root password if error
This commit is contained in:
parent
05bb9f2011
commit
1c9095692b
1 changed files with 5 additions and 1 deletions
6
archfi
6
archfi
|
@ -1165,7 +1165,11 @@ archsetrootpassword(){
|
|||
}
|
||||
archsetrootpasswordchroot(){
|
||||
echo "passwd root"
|
||||
passwd root
|
||||
passed=1
|
||||
while [[ ${passed} != 0 ]]; do
|
||||
passwd root
|
||||
passed=$?
|
||||
done
|
||||
exit
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue