Re: [PATCH v2] coccicheck: return proper error code on fail

2018-08-13 Thread Masahiro Yamada
2018-08-11 5:31 GMT+09:00 Julia Lawall : > > > On Fri, 10 Aug 2018, efre...@linux.com wrote: > >> From: Denis Efremov >> >> If coccicheck fails, it should return an error code distinct from zero >> to signal about an internal problem. Current code instead of exiting with >> the tool's error code

Re: [PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread Julia Lawall
On Fri, 10 Aug 2018, efre...@linux.com wrote: > From: Denis Efremov > > If coccicheck fails, it should return an error code distinct from zero > to signal about an internal problem. Current code instead of exiting with > the tool's error code returns the error code of 'echo "coccicheck

[PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread efremov
From: Denis Efremov If coccicheck fails, it should return an error code distinct from zero to signal about an internal problem. Current code instead of exiting with the tool's error code returns the error code of 'echo "coccicheck failed"' which is almost always equals to zero, thus failing the