Commit 35d88a38710583f3b5afc3255d7bc190a50e1af7

Authored by Nicolas Palix
Committed by Michal Marek
1 parent 4c6e00cffc

Coccinelle: Restore coccicheck verbosity in ONLINE mode (C=1 or C=2)

A recent patch have introduce the VERBOSE variable and comments
now depend on it. However, the message printed for each cocci file
such not be printed when the ONLINE mode is active, whatever is
the value of VERBOSE.

Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -72,7 +72,7 @@
72 72 #
73 73 # $SPATCH -D $MODE $FLAGS -parse_cocci $COCCI $OPT > /dev/null
74 74  
75   - if [ $VERBOSE -ne 0 ] ; then
  75 + if [ $VERBOSE -ne 0 -a $ONLINE -eq 0 ] ; then
76 76  
77 77 FILE=`echo $COCCI | sed "s|$srctree/||"`
78 78