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 if [ "$logLevel" = "normal" ]; then
borgCreateParams='--stats' borgCreateParams='--stats'
borgPruneParams="--list" borgPruneParams="--list"
unset logFileVerbose logFileVerbose="/dev/null"
logFileNormal="$logFile" logFileNormal="$logFile"
elif [ "$logLevel" = "verbose" ]; then elif [ "$logLevel" = "verbose" ]; then
borgCreateParams='--list --stats' borgCreateParams='--list --stats'
borgPruneParams='--list' borgPruneParams='--list'
logFileVerbose="$logFile" logFileVerbose="$logFile"
unset logFileNormal logFileNormal="/dev/null"
fi fi