syntax error on bash, the return