diff --git a/backup.sh b/backup.sh index 5ac58f9..ac1e41a 100755 --- a/backup.sh +++ b/backup.sh @@ -136,13 +136,13 @@ fi if [ "$logLevel" = "normal" ]; then borgCreateParams='--stats' borgPruneParams="--list" - unset logFileVerbose + logFileVerbose="/dev/null" logFileNormal="$logFile" elif [ "$logLevel" = "verbose" ]; then borgCreateParams='--list --stats' borgPruneParams='--list' logFileVerbose="$logFile" - unset logFileNormal + logFileNormal="/dev/null" fi