Revision 13353
Added by Aaron Marcuse-Kubitza over 10 years ago
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 ignore_err_msg "$@" |
|
404 |
pattern="$type .* does not exist" ignore_e=3 benign_error=1 ignore_err_msg "$@"
|
|
405 | 405 |
} |
406 | 406 |
|
407 | 407 |
pg_schema_exists() # usage: schema=__ [benign_error=1] pg_schema_exists |
Also available in: Unified diff
fix: lib/sh/db.sh: benign_does_not_exist_error(): use benign_error=1, which is now supported properly by stderr_matches()