aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/stub.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-27 17:25:10 +0900
committerOphestra <cat@gensokyo.uk>2025-03-27 17:25:10 +0900
commit5c82f1ed3eb21d6a6999748ca19d26cefaf7598c (patch)
tree11120c8282e182664144e01c107de14c58fbeee4 /helper/stub.go
parentf8502c3ece1ff53b244326e341b166174f7f5d79 (diff)
helper/stub: output to stdout
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/stub.go')
-rw-r--r--helper/stub.go2
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())
}
}