aboutsummaryrefslogtreecommitdiffhomepage
path: root/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'state.go')
-rw-r--r--state.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/state.go b/state.go
index 04355263..c4551ac3 100644
--- a/state.go
+++ b/state.go
@@ -7,6 +7,7 @@ import (
"text/tabwriter"
"git.ophivana.moe/security/fortify/internal"
+ "git.ophivana.moe/security/fortify/internal/fmsg"
"git.ophivana.moe/security/fortify/internal/state"
)
@@ -25,7 +26,7 @@ func tryState() {
state.MustPrintLauncherStateSimpleGlobal(&w, internal.GetSC().RunDirPath)
if w != nil {
if err := w.Flush(); err != nil {
- fmt.Println("warn: error formatting output:", err)
+ fmsg.Println("cannot format output:", err)
}
} else {
fmt.Println("No information available")