error suppress option
This commit is contained in:
parent
1433162ffd
commit
409edf1bfd
@ -96,6 +96,7 @@ _CA__GET_COMMANDS_AND_PROJECTS() {
|
|||||||
|
|
||||||
_CA__ERROR_CLEANUP() {
|
_CA__ERROR_CLEANUP() {
|
||||||
local ERROR="$1"
|
local ERROR="$1"
|
||||||
|
[ $_CA__SUPPRESS_ERROR ] && return
|
||||||
case $ERROR in
|
case $ERROR in
|
||||||
42 )
|
42 )
|
||||||
echo 'failed to activate environment; aborting' >&2
|
echo 'failed to activate environment; aborting' >&2
|
||||||
|
Loading…
Reference in New Issue
Block a user