changed unused logFile vars to /dev/null to avoid 'ambiguous redirect'

This commit is contained in:
Asif Bacchus 2018-09-19 17:02:10 -06:00
parent 92672acc7d
commit 0316a01975

View File

@ -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