Skip to content

Commit

Permalink
Fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Dec 5, 2024
1 parent ad75fac commit 8f38932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/rdsauth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 8f38932

Please sign in to comment.