suppression de la barre d'avancement
This commit is contained in:
@@ -209,8 +209,7 @@ for machine in "${machines[@]}"; do
|
|||||||
|
|
||||||
((current++))
|
((current++))
|
||||||
percent=$(( current * 100 / total ))
|
percent=$(( current * 100 / total ))
|
||||||
bar=$(printf "%-${total}s" "#" | cut -c 1-$current)
|
echo -ne "[${percent}%] $machine ($current/$total)\n"
|
||||||
echo -ne "[${percent}%] [${bar}] $machine ($current/$total)\n"
|
|
||||||
|
|
||||||
# Vérification si le nom de machine est présent dans le fichier .config/updateall-hosts
|
# Vérification si le nom de machine est présent dans le fichier .config/updateall-hosts
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user