contrib/check-code.py
changeset 47504 9b1710c50230
parent 46819 d4ba4d51f85f
child 47635 752109dc2fb7
--- a/contrib/check-code.py	Fri Jul 02 22:58:04 2021 +0200
+++ b/contrib/check-code.py	Tue Jul 06 12:42:32 2021 +0200
@@ -215,7 +215,6 @@
             "use regex test output patterns instead of sed",
         ),
         (uprefix + r'(true|exit 0)', "explicit zero exit unnecessary"),
-        (uprefix + r'.*(?<!\[)\$\?', "explicit exit code checks unnecessary"),
         (
             uprefix + r'.*\|\| echo.*(fail|error)',
             "explicit exit code checks unnecessary",