aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper
diff options
context:
space:
mode:
Diffstat (limited to 'helper')
-rw-r--r--helper/stub.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/helper/stub.go b/helper/stub.go
index c0be010b..5b45896f 100644
--- a/helper/stub.go
+++ b/helper/stub.go
@@ -11,6 +11,7 @@ import (
"testing"
"git.ophivana.moe/security/fortify/helper/bwrap"
+ "git.ophivana.moe/security/fortify/internal/fmsg"
)
// InternalChildStub is an internal function but exported because it is cross-package;
@@ -33,7 +34,7 @@ func InternalChildStub() {
genericStub(argsFD, statFD)
}
- os.Exit(0)
+ fmsg.Exit(0)
}
// InternalReplaceExecCommand is an internal function but exported because it is cross-package;