diff --git a/borg-gui.sh b/borg-gui.sh index a0fb469..57f78b8 100755 --- a/borg-gui.sh +++ b/borg-gui.sh @@ -197,7 +197,7 @@ fi zenity --warning $W $iconborg --text "L'archive existe déjà." else if [ "$VarDossierPresent" != "false" ];then - borg create $borg_excludes $borg_compress $borg_repo::$borg_archive $borg_dir | ZenityPulsate + cd $borg_dir && borg create $borg_excludes $borg_compress $borg_repo::$borg_archive ./ | ZenityPulsate sync | ZenityPulsate zenity --notification --text "Sauvegarde $nomsauvegarde terminée" zenity $W --info --text "Sauvegarde $nomsauvegarde terminée"