705f5bbd017851dd65354dfd0f39ca6242036783
db-tool): postgres-init: always invoke main so sourcing exports vars
Previous basename guard only ran the function when invoked as the postgres-init binary, but consumer shellHooks source the script to inherit POSTGRESQL_HOST/PGURL/etc. Sourcing left the function defined but never called, leaving WIPE_PGURL/PGURL unset and breaking devshell entry in proxydoe and ruststats.
Description
No description provided
15 MiB
Languages
Go
75.7%
Handlebars
6.7%
TypeScript
4.6%
Shell
2.9%
Nix
2.2%
Other
7.6%