diff --git a/scripts/trace/sipgrep b/scripts/trace/sipgrep index 7bd5daed4d..474a2d5c7b 100755 --- a/scripts/trace/sipgrep +++ b/scripts/trace/sipgrep @@ -287,7 +287,7 @@ sub print_out { open(DBG, ">>$filedebug"); $lcolor = 'reset' if(!(defined $debugfilecolors)); - print DBG color $lcolor; + print DBG color $lcolor if(!(defined $debugfilecolors)); print DBG $ltext; close(DBG); }