Fixed error in shell script