Fix typo in bash conditional