Fixed stupid bash if-then syntax error.