Project

General

Profile

« Previous | Next » 

Revision 12848

lib/sh/util.sh: ignore_err_msg(): usage: added $ignore_e param from stderr_matches()

View differences:

trunk/lib/sh/util.sh
857 857
fi # load new aliases
858 858
if self_being_included; then
859 859

  
860
function ignore_err_msg() # usage: pattern=... ignore_err_msg cmd...
860
function ignore_err_msg() # usage: pattern=... [ignore_e=#] ignore_err_msg cmd
861 861
# unlike `|| true`, this suppresses only errors caused by a particular error
862 862
# *message*, rather than all error exit statuses
863 863
{

Also available in: Unified diff