Update debug()
This commit is contained in:
parent
99cfe2390a
commit
de206ece91
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue