From 694cc2d44082c897c59d44cacaafc5dc2670aa5f Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 15 Feb 2008 14:03:21 +0100 Subject: =?utf-8?q?Un=20chtit=20"bug"=20avec=20awk=20qui=20compte=20toujours=20un=20message=20vide =20dans=20les=20log=20de=20procmail,=20faussant=20donc=20le=20comptage=20des=20mails =20re=C3=A7us...=20:)?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit --- 11_Prompts.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '11_Prompts.zsh') diff --git a/11_Prompts.zsh b/11_Prompts.zsh index c014f77..f8fde5e 100644 --- a/11_Prompts.zsh +++ b/11_Prompts.zsh @@ -92,7 +92,7 @@ precmd () errorsize=4 # Mailcheck - MAILSTAT="`[ -s ~/.procmail/procmail.log ] && < ~/.procmail/procmail.log awk 'BEGIN {RS="From" ; HAM=1} !/JUNK/ { HAM++ } END { if (HAM > 0) { print "-You got mail !-" } }'`" + MAILSTAT="`[ -s ~/.procmail/procmail.log ] && < ~/.procmail/procmail.log awk 'BEGIN {RS="From" ; HAM=-1} !/JUNK/ { HAM++ } END { if (HAM > 0) { print "-You got mail !-" } }'`" ## SVN TRACKING ## -- cgit v1.2.3