changed unused logFile vars to /dev/null to avoid 'ambiguous redirect'
This commit is contained in:
parent
92672acc7d
commit
0316a01975
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user