https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241906

            Bug ID: 241906
           Summary: `locale -k` with an invalid keyword exits with 0
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: alex+free...@strugee.net

If I run, for example, `locale -k nonexistant`, I get a helpful error message:
`Unknown keyword: 'nonexistant'`.

However, `locale` in this case still exits with an exit code of 0. It should
probably exit with nonzero instead to indicate the failure in finding the
keyword.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to