diff options
Diffstat (limited to 'helper/stub.go')
| -rw-r--r-- | helper/stub.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/stub.go b/helper/stub.go index b1eab719..ae839d78 100644 --- a/helper/stub.go +++ b/helper/stub.go @@ -63,7 +63,7 @@ func flagRestoreFiles(offset int, ap, sp string) (argsFile, statFile *os.File) { func genericStub(argsFile, statFile *os.File) { if argsFile != nil { // this output is checked by parent - if _, err := io.Copy(os.Stderr, argsFile); err != nil { + if _, err := io.Copy(os.Stdout, argsFile); err != nil { panic("cannot read args: " + err.Error()) } } |
