From ff638c75f4b588724b6c90345a58c7bad468a752 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 15 May 2025 11:34:13 -0300 Subject: src/gotext.go: Fix bad exit of Main() --- src/gotext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gotext.go b/src/gotext.go index d2ef382..596d670 100644 --- a/src/gotext.go +++ b/src/gotext.go @@ -572,7 +572,7 @@ func Main() { Init(Name, LOCALEDIR) args, rc := getopt(os.Args, os.Stderr) if rc != 0 { - os.Exit(0) + os.Exit(rc) } os.Exit(run(envT{ args: args, -- cgit v1.2.3