1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed |
2 |
|
|
--- smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed 2007-06-08 10:01:12.000000000 -0400 |
3 |
|
|
+++ mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed 2007-06-08 10:00:35.000000000 -0400 |
4 |
|
|
@@ -17,7 +17,10 @@ |
5 |
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
6 |
|
|
#---------------------------------------------------------------------- |
7 |
|
|
|
8 |
|
|
-tac /var/log/freshclam/current | sed -n '/Downloading/d;1,/process started/p;/process started/q' | tac | tai64nlocal | \ |
9 |
|
|
- mail -s 'freshclam: Update failed' admin |
10 |
|
|
+/usr/bin/tac /var/log/freshclam/current | \ |
11 |
|
|
+ /bin/sed -n '/Downloading/d;1,/process started/p;/process started/q' | \ |
12 |
|
|
+ /usr/bin/tac | \ |
13 |
|
|
+ /usr/local/bin/tai64nlocal | \ |
14 |
|
|
+ /bin/mail -s 'freshclam: Update failed' admin |
15 |
|
|
|
16 |
|
|
exit 0 |