terminate script execution in case of failure
Merge pull request #10969 from owncloud/set-e

terminate script execution in case of failure