Fix syntax error in bash script