This check makes sense only in *.c files. Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx> --- cfg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg.mk b/cfg.mk index 36f70bfb9..ceca27f5d 100644 --- a/cfg.mk +++ b/cfg.mk @@ -808,7 +808,7 @@ sc_prohibit_semicolon_at_eol_in_python: # mymain() in test files should use return, not exit, for nicer output sc_prohibit_exit_in_tests: @prohibit='\<exit *\(' \ - in_vc_files='^tests/' \ + in_vc_files='^tests/.*\.c$$' \ halt='use return, not exit(), in tests' \ $(_sc_search_regexp) -- 2.12.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list