=== modified file 'zsh-functions/confz_postgresql_init' --- zsh-functions/confz_postgresql_init 2014-06-28 05:08:47 +0000 +++ zsh-functions/confz_postgresql_init 2014-06-28 05:07:59 +0000 @@ -148,10 +148,10 @@ out=$( confz_do $vars[psql] $opts -AP tuples_only=on -c '\d' $vars[db] ) || die "psql failed" if [[ -z $out ]]; then - fail_reason="the schema for ${(qqq)vars[db]} is empty" + fail_reason="the schema for ${(qqq)db} is empty" return 1 elif [[ $out != $vars[schema] ]]; then - die "the schema for ${(qqq)vars[db]} differs:"$'\n'$( \ + die "the schema for ${(qqq)db} differs:"$'\n'$( \ diff -u <(print -r - $vars[schema]) <(print -r - $out) ) fi return 0