Update debug()

This commit is contained in:
Santiago Lo Coco 2022-01-09 21:35:14 -03:00
parent 99cfe2390a
commit de206ece91
1 changed files with 1 additions and 1 deletions

View File

@ -164,5 +164,5 @@ setDebugToFile() {
}
debug() {
[ -n ${debugFlagToFile+x} ] && [ $debugFlagToFile = true ] && tee -a CocoRice.log > /dev/null
[[ -z ${debugFlagToFile+x} || $debugFlagToFile = true ]] && tee -a CocoRice.log > /dev/null
}