diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-09-09 10:25:39 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-09-09 10:28:34 +0100 |
commit | 20f46a2e347a53855b70b47297cd1856741d6265 (patch) | |
tree | f93a50b503f518f350a25586f4eac0e2bbeb20f7 /cfg.mk | |
parent | c383c570c67e0ede0d3aa0ce08961d5745e7764d (diff) | |
download | coreutils-20f46a2e347a53855b70b47297cd1856741d6265.tar.xz |
maint: fix syntax-check issues in recent commit
Avoid 2 new syntax-check failures introduced in commit v8.23-19-g8defcee
* cfg.mk (sc_some_programs_must_avoid_exit_failure): s/exit/return/.
* src/whoami.c (main): Reinstate translation marker for diagnostic.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -436,7 +436,7 @@ sc_prohibit_test_empty: sc_some_programs_must_avoid_exit_failure: @grep -nw EXIT_FAILURE \ $$(git grep -El '[^T]_FAILURE|EXIT_CANCELED' src) \ - | grep -vE '= EXIT_FAILURE|exit \(.* \?' | grep . \ + | grep -vE '= EXIT_FAILURE|return .* \?' | grep . \ && { echo '$(ME): do not use EXIT_FAILURE in the above' \ 1>&2; exit 1; } || : |