Wrong condition code to print error msg.