Revert "Try out other shell script because or unexpected return code."

This reverts commit 9bd951f065d98b791628dd6b7b753df755e848ef.