Project

General

Profile

« Previous | Next » 

Revision 12797

fix: lib/sh/db.sh: pg_table_exists(): use stderr_matches() rather than just the exit status. this also avoids highlighting the benign error.

View differences:

trunk/lib/runscripts/table.run
31 31
table_make_install()
32 32
{
33 33
	echo_func
34
	if ! remaking && pg_table_exists; then return 0; fi
34
	prep_try; if ! remaking && pg_table_exists; then rethrow; return 0; fi
35
		rethrow
35 36
	local install_log="${install_log-$top_dir/$install_log_rel}"
36 37
	local verbosity_min= # install logs require default verbosity
37 38
	if ! remaking && test -e "$install_log"; then local_export noclobber=1; fi

Also available in: Unified diff