Skip to content

Commit

Permalink
Merge pull request #14 from connectedcars/fix-script-calls
Browse files Browse the repository at this point in the history
setup.go: set args to empty instead of the Command name if no extra args
  • Loading branch information
tlbdk authored Feb 21, 2024
2 parents adb9be0 + d5e7f0d commit 9a5db45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/authwrapper/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ func parseEnvironment() (*Config, error) {
config.Command = args[0]
if len(config.Args) > 1 {
config.Args = args[1:]
} else {
config.Args = []string{}
}
}
}
Expand Down

0 comments on commit 9a5db45

Please sign in to comment.