From ae1a102882103221ef842176dfd8cb1090d5f591 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Sat, 26 Oct 2024 23:09:32 +0900 Subject: fmsg: support temporarily withholding output Trying to print to a shared stdout is a terrible idea. This change makes it possible to withhold output for the lifetime of the sandbox. Signed-off-by: Ophestra Umiker --- state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'state.go') diff --git a/state.go b/state.go index 40b550cb..3a3f9a68 100644 --- a/state.go +++ b/state.go @@ -30,6 +30,6 @@ func tryState() { fmt.Println("No information available") } - os.Exit(0) + fmsg.Exit(0) } } -- cgit v1.3.1