supression du debug dans le while

This commit is contained in:
Djan GICQUEL 2022-07-14 15:06:26 +02:00
parent ef5e46fa3a
commit f9c05fcb12

View File

@ -99,14 +99,10 @@ elif [ "$choixmenu" = "ajd" ];then
TestBorgErr="true"
while [ "$TestBorgErr" = "true" ];do
echo "-> while"
borg_repo_test=$(zenity --title "Dossier du dépôt" --file-selection --directory)
if [ $? = "1" ];then exit;fi
cd "$borg_repo_test" && TestBorgRepo
echo "TestBorgErr : $TestBorgErr"
if [ "$TestBorgErr" = "false" ];then borg_repo=$borg_repo_test;fi
echo "borg_repo = $borg_repo"
echo "borg_repo_test = $borg_repo_test"
done
borg_dir=$(zenity --title "Dossier à sauvegarder" --file-selection --directory)