1
0
Fork 0
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:
Knut Ahlers 2016-05-29 02:23:19 +02:00
parent a3f71a63b5
commit 3de326adc5
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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