From 5c82f1ed3eb21d6a6999748ca19d26cefaf7598c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 27 Mar 2025 17:25:10 +0900 Subject: helper/stub: output to stdout Signed-off-by: Ophestra --- helper/stub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helper/stub.go') 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()) } } -- cgit v1.3.1