Project

General

Profile

« Previous | Next » 

Revision 12802

bugfix: lib/sh/util.sh: ignore_err_msg(): also need to ignore false exit status on no match

View differences:

trunk/lib/sh/util.sh
814 814
# *message*, rather than all error exit statuses
815 815
{
816 816
	echo_func; kw_params pattern; : "${pattern?}"
817
	prep_try; stderr_matches "$@" || rethrow
817
	stderr_matches "$@" || true # also ignore false exit status on no match
818 818
}
819 819
alias ignore_err_msg='"ignore_err_msg" ' # last space alias-expands next word
820 820

  

Also available in: Unified diff