fix bash conditional statement

The Previous bash conditional was always true.  Oops.