]> git.donarmstrong.com Git - bin.git/commitdiff
updated getmail script
authorDon Armstrong <don@donarmstrong.com>
Thu, 13 Oct 2005 03:59:17 +0000 (03:59 +0000)
committerDon Armstrong <don@donarmstrong.com>
Thu, 13 Oct 2005 03:59:17 +0000 (03:59 +0000)
getmail

diff --git a/getmail b/getmail
index 77900af9dcec53629ea10dc6fcef5692c65fcb72..44c2020c117c613295cd3e1b858cf94b004d2b69 100755 (executable)
--- a/getmail
+++ b/getmail
@@ -15,7 +15,7 @@ fi;
 # See if the server exists
 if [ -z "$CRON" ] || kill -0 `pgrep -U $(id -u) -x $MUA` 2>/dev/null; then
     if ping -q -c 3 $IMAPHOST >/dev/null; then
-       nice -n 19 offlineimap -o -u Noninteractive.Basic 2>/dev/null |grep validity| \
+       nice -n 19 offlineimap -o -u Noninteractive.Basic 2>&1 |grep validity| \
            perl -ne 'my ($account,$list) = /UID validity problem for folder ([\w-]+)\.([\w-]+)/;
                       qx(/home/don/bin/deletemailbox -a $account $list > /dev/null);';
     fi;