From 8f389327b79b584d7345ea2acceb10323025c478 Mon Sep 17 00:00:00 2001 From: winebarrel Date: Thu, 5 Dec 2024 10:30:36 +0900 Subject: [PATCH] Fix export --- cmd/rdsauth/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/rdsauth/main.go b/cmd/rdsauth/main.go index 92364db..a92d16d 100644 --- a/cmd/rdsauth/main.go +++ b/cmd/rdsauth/main.go @@ -46,9 +46,9 @@ func main() { if options.Export { switch options.URL.Scheme { case "mysql": - fmt.Printf("export MYSQL_PWD='%s'\n", token) + fmt.Printf("export MYSQL_PWD=%s\n", token) case "postgres", "postgresql": - fmt.Printf("export PGPASSWORD='%s'\n", token) + fmt.Printf("export PGPASSWORD=%s\n", token) default: log.Fatalf("unimplemented database: %s", options.URL.Scheme) }