Compare commits

...

3 Commits

Author SHA1 Message Date
Clemens Schwaighofer
86b0fa122a Add empty KEEP option for error with -T 2022-03-30 20:27:46 +09:00
Clemens Schwaighofer
32c320be27 Fix close call int compare 2022-03-30 14:48:52 +09:00
Clemens Schwaighofer
500ab01790 Bug fix for unset var in close call 2022-03-30 11:35:19 +09:00
3 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ if [ ! -w "${HOME}" ] || [ "${HOME}" = '/' ]; then
fi;
# keep optionfs (for files)
KEEP_OPTIONS=();
KEEP_OPTIONS=("");
# keep info string (for files)
KEEP_INFO="";
# override standard keep for tagged backups

View File

@@ -3,7 +3,7 @@
# unset borg settings
unset BORG_BASE_DIR BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK BORG_RELOCATED_REPO_ACCESS_IS_OK
# error abort without duration and error notice
if [ $1 == 1 ]; then
if [ $# -ge 1 ] && [ $1 -eq 1 ]; then
echo "=== [ERROR: $(date +'%F %T')] ==[${MODULE}]====================================>";
else
DURATION=$[ $(date +'%s')-$START ];

View File

@@ -19,7 +19,7 @@ function version {
}
# version for all general files
VERSION="4.1.2";
VERSION="4.2.3";
# borg version and borg comamnd
BORG_VERSION="";