diff options
author | Runxi Yu <me@runxiyu.org> | 2025-01-12 17:17:23 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-01-12 17:17:23 +0800 |
commit | d497b4a9adfc7f0758bfe3cb3d0f5ba9adcff923 (patch) | |
tree | 4e6780d066cf4d6afb51abbc937ebaeb2a892368 | |
parent | Add PostgreSQL connection (diff) | |
download | maild-d497b4a9adfc7f0758bfe3cb3d0f5ba9adcff923.tar.gz maild-d497b4a9adfc7f0758bfe3cb3d0f5ba9adcff923.tar.zst maild-d497b4a9adfc7f0758bfe3cb3d0f5ba9adcff923.zip |
Add missing flag.Parse()
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,6 +14,8 @@ const VERSION = "lindenii-maild v0.0.0" func main() { config_path := flag.String("config", "/etc/lindenii/maild.scfg", "path to configuration file") + flag.Parse() + err := load_config(*config_path) if err != nil { panic(err) |