Fixed error redirection to /dev/null

I'm running it on a debian wheezy and the script throwed that:
twMINTfinal.sh: 150: twMINTfinal.sh: Syntax error: redirection unexpected