From 42378244279ee9e4156d0af09eb0fcb06b1206fd Mon Sep 17 00:00:00 2001 From: ScriptTiger Date: Sun, 11 Feb 2024 17:42:07 +0800 Subject: [PATCH] Fix exit error code --- flacsfx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flacsfx.go b/flacsfx.go index e65a5fc..42daa50 100644 --- a/flacsfx.go +++ b/flacsfx.go @@ -142,7 +142,7 @@ func main() { _, err = fileWriter.Write(flacRaw) if err != nil { os.Stdout.WriteString("There was a problem writing the FLAC stream to the file.") - os.Exit(1) + os.Exit(4) } os.Exit(0) }