Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 99053 Details for
Bug 150391
app-forensics/rkhunter: cronjob sends email even if empty
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch: don't mail output if empty
rkhunter.cron.patch (text/plain), 364 bytes, created by
Zak Kipling
on 2006-10-07 09:09:49 UTC
(
hide
)
Description:
Patch: don't mail output if empty
Filename:
MIME Type:
Creator:
Zak Kipling
Created:
2006-10-07 09:09:49 UTC
Size:
364 bytes
patch
obsolete
>--- /usr/portage/app-forensics/rkhunter/files/rkhunter.cron 2005-09-02 11:05:27.000000000 +0100 >+++ /etc/cron.daily/rkhunter 2006-10-07 16:43:12.000000000 +0100 >@@ -111,7 +111,7 @@ > RV=$? > > # email output? >-if [[ "${SEND_EMAIL}" == "yes" ]] ; then >+if [[ "${SEND_EMAIL}" == "yes" && -s "${_tmpout}" ]] ; then > CMD="cat ${_tmpout} ${EMAIL_CMD}" > eval ${CMD} > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 150391
: 99053