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 --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.go') diff --git a/config.go b/config.go index 05f692ca..2ba0b6e8 100644 --- a/config.go +++ b/config.go @@ -65,7 +65,7 @@ func tryTemplate() { } else { fmt.Println(string(s)) } - os.Exit(0) + fmsg.Exit(0) } } -- cgit v1.3.1