diff options
| author | EuAndreh <eu@euandre.org> | 2025-05-15 11:34:13 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-05-15 11:34:13 -0300 |
| commit | ff638c75f4b588724b6c90345a58c7bad468a752 (patch) | |
| tree | 5f823891e50d06d0b57018cdc6fda29fda414f61 | |
| parent | Remove "MIME-Version" extra header (diff) | |
| download | gotext-ff638c75f4b588724b6c90345a58c7bad468a752.tar.gz gotext-ff638c75f4b588724b6c90345a58c7bad468a752.tar.xz | |
src/gotext.go: Fix bad exit of Main()
| -rw-r--r-- | src/gotext.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
