From 0cffc5bba4dac410dce80b43fccedf9c08da7410 Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 2 Jul 2024 09:15:25 +0200 Subject: [PATCH] Update conf/backup_method --- conf/backup_method | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/backup_method b/conf/backup_method index 2efb46c..29a3980 100644 --- a/conf/backup_method +++ b/conf/backup_method @@ -29,7 +29,7 @@ do_backup() { size="$3" description="$4" set +e - if ! "$borg" config -l > /dev/null 2>&1; then + if ! "$borg" list > /dev/null 2>&1; then "$borg" init -e repokey # human_size=`echo $size | awk '{ suffix=" KMGT"; for(i=1; $1>1024 && i < length(suffix); i++) $1/=1024; print int($1) substr(suffix, i, 1), $3; }'` # Speed in Kbps