shell script check if variable equals 0