spurious echo causes extra mail when running from cron

Bug #570802 reported by seph
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
chkrootkit (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: chkrootkit

Using chkrootkit 0.49-3.1, if I run it with both an exclude and -q I get a spurious new line, which causes cron to complain. I traced this down to an echo statement, that I think belongs inside the if QUIET block. I've attached my patch to that effect.

Poking around, I also see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548582 which took a different approach. In some ways it's cleaner, but when I try that patch it gets some of the logic wrong., and outputs weirdly. So I like mine more.

Revision history for this message
seph (seph) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the patch, this will be reviewed again once maverick has been released.

Regards
chuck

Changed in chkrootkit (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.