[shell] How to check if $? is not equal to zero in unix shell scripting?