Update debug()

This commit is contained in:
Santiago Lo Coco 2022-01-19 00:21:01 -03:00
parent 4fb9d6cbb1
commit cfeb6bac31
1 changed files with 1 additions and 1 deletions

View File

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