Fixed syntax error in bash script