Project

General

Profile

« Previous | Next » 

Revision 13354

bugfix: benign_does_not_exist_error(): removed ignore_e=3, because this exit status is also used for other errors

View differences:

trunk/lib/sh/db.sh
401 401
benign_does_not_exist_error() # usage: type=what benign_does_not_exist_error cmd
402 402
{
403 403
	log-- echo_func; : "${type:?}"
404
	pattern="$type .* does not exist" ignore_e=3 benign_error=1 ignore_err_msg "$@"
404
	pattern="$type .* does not exist" benign_error=1 ignore_err_msg "$@"
405
		# no ignore_e=3, because this exit status also used for other errors
405 406
}
406 407

  
407 408
pg_schema_exists() # usage: schema=__ [benign_error=1] pg_schema_exists

Also available in: Unified diff