Fix bash if, add line to fix syntax