Update util.sh

Fixed if else for print dots