svn path=/main/trunk/; revision=5489
qa_source() {
local shopts=$(shopt) OLDIFS="$IFS"
- source "$@"
+ source "$@" || return 1
[[ $shopts != $(shopt) ]] &&
vecho "QA Notice: Global shell options were changed and not restored while sourcing $1"
[[ "$IFS" != "$OLDIFS" ]] &&
qa_call() {
local shopts=$(shopt) OLDIFS="$IFS"
- "$@"
+ "$@" || return 1
[[ $shopts != $(shopt) ]] &&
vecho "QA Notice: Global shell options were changed while calling $1"
[[ "$IFS" != "$OLDIFS" ]] &&