Update debug()
This commit is contained in:
parent
4fb9d6cbb1
commit
cfeb6bac31
|
@ -175,5 +175,5 @@ setLogToFile() {
|
|||
}
|
||||
|
||||
debug() {
|
||||
[[ -z ${logToFile+x} || $logToFile = true ]] && tee -a "$logFolder/sadedot.log" > /dev/null
|
||||
[[ -n $logToFile && $logToFile = true ]] && tee -a "$logFolder/sadedot.log" > /dev/null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue