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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to