fix go-sh error return bug