Project

General

Profile

« Previous | Next » 

Revision 13192

lib/sh/util.sh: stderr_matches(): run at higher log_level because error-handling internals should not be logged by default

View differences:

trunk/lib/sh/util.sh
863 863

  
864 864
stderr_matches() # usage: pattern=... [ignore_e=#] stderr_matches cmd...
865 865
{
866
	echo_func; kw_params pattern ignore_e; : "${pattern?}"
866
	log_local; log++; echo_func; kw_params pattern ignore_e; : "${pattern?}"
867 867
	if test "$ignore_e"; then local benign_error=1; fi
868 868
	
869 869
	# not necessary to allow callers to handle the error themselves (which would

Also available in: Unified diff