Skip to content

Commit

Permalink
Merge pull request #3 from jkrajniak/fix/syscall-exec-arguments
Browse files Browse the repository at this point in the history
Passing full list of argv to Execve function
  • Loading branch information
mescam committed Jan 30, 2019
2 parents 7cf1194 + fc52b35 commit 718bc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/assume-role-arn/main.go
Expand Up @@ -91,7 +91,7 @@ func runCommand(args []string) error {
panic(err)
}

return syscall.Exec(binary, args[1:], env)
return syscall.Exec(binary, args, env)
}

func main() {
Expand Down

0 comments on commit 718bc25

Please sign in to comment.