ajout de no-cancel à la création d'archive
en attente de trouver une solution perenne pour l'annulation
This commit is contained in:
parent
8aed42b296
commit
e9c0cf4c61
@ -213,7 +213,7 @@ fi
|
||||
else
|
||||
if [ "$VarDossierPresent" != "false" ];then
|
||||
log="/tmp/borg-zenity-$borg_archive-$(date +%H-%M-%S).log"
|
||||
borg create ${borg_excludes} ${borg_compress} "$borg_repo"::"$borg_archive" . 2> "$log" | ZenityPulsate
|
||||
borg create ${borg_excludes} ${borg_compress} "$borg_repo"::"$borg_archive" . 2> "$log" | zenity $W $iconborg --progress --pulsate --auto-close --no-cancel
|
||||
chmod 777 "$log"
|
||||
if [ $(wc -c "$log" | cut -f1 -d " ") -gt 1 ] ;then
|
||||
zenity $W --error --title "borg-zenity erreur" --text "$(cat $log)"
|
||||
|
Loading…
Reference in New Issue
Block a user