mirror of
https://github.com/Luzifer/vault2env.git
synced 2024-11-09 16:50:06 +00:00
Fix: Remove program name from program args
This commit is contained in:
parent
a3f71a63b5
commit
3de326adc5
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -85,7 +85,7 @@ func main() {
|
|||
emap[k] = v.(string)
|
||||
}
|
||||
|
||||
cmd := exec.Command(rconfig.Args()[2], rconfig.Args()[2:]...)
|
||||
cmd := exec.Command(rconfig.Args()[2], rconfig.Args()[3:]...)
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
cmd.Stdin = os.Stdin
|
||||
|
|
Loading…
Reference in a new issue