Skip to content

Commit

Permalink
Merge pull request #20 from winebarrel/fix_export
Browse files Browse the repository at this point in the history
Fix export
  • Loading branch information
winebarrel authored Dec 5, 2024
2 parents ad75fac + 8f38932 commit 3f0f044
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 3f0f044

Please sign in to comment.