On 2013-07-07 14:20, Kernc wrote:
> Is setting -e only on the parent sourcing script a convention
> 'fix' for this case?

I suppose that's the usual one, yes. But depending on how stuff in
functions.sh is written (whether it actually relies on exiting on
error), it could perhaps make errexit behavior conditional based on
whether it is being sourced in an interactive shell or not, e.g.

    [[ $PS1 ]] || set -e


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to