94dd68587b6318b1d8d6bb845d21dcce342c1b49
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
17 MiB
Languages
Go
73.6%
Handlebars
6.5%
TypeScript
4.5%
Shell
3.4%
Nix
2.7%
Other
9%