[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] equivalent of set -e for function
From: |
Peng Yu |
Subject: |
[Help-bash] equivalent of set -e for function |
Date: |
Tue, 4 Dec 2018 09:57:49 -0600 |
Hi,
I'd like to return from a function upon getting an error from a
command in that function. It seems that `set` does have an option like
-r for this feature. Does bash support this feature via some other
setup command? Thanks.
--
Regards,
Peng
- [Help-bash] equivalent of set -e for function,
Peng Yu <=