mirror of
https://github.com/Luzifer/vault2env.git
synced 2024-12-20 20:21:20 +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)
|
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.Stdout = os.Stdout
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
cmd.Stdin = os.Stdin
|
cmd.Stdin = os.Stdin
|
||||||
|
|
Loading…
Reference in a new issue