]> git.donarmstrong.com Git - bin.git/commitdiff
add missing then to getmail
authorDon Armstrong <don@donarmstrong.com>
Sun, 19 Feb 2006 09:19:56 +0000 (09:19 +0000)
committerDon Armstrong <don@donarmstrong.com>
Sun, 19 Feb 2006 09:19:56 +0000 (09:19 +0000)
getmail

diff --git a/getmail b/getmail
index d13d872f48bb568068bb92ec587a3451dee7e853..62a1ce05793c09d9af64ba3516bd649238689205 100755 (executable)
--- a/getmail
+++ b/getmail
@@ -18,7 +18,7 @@ if [ -z "$CRON" ] || kill -0 `pgrep -U $(id -u) -x $MUA` 2>/dev/null; then
        if nice -n 19 offlineimap -o -u Noninteractive.Basic 2>&1 |grep validity| \
            perl -ne 'my ($account,$list) = /UID validity problem for folder ([\w-]+)\.([\w-]+)/;
                       next unless defined $account and length $account;
-                      qx(/home/don/bin/deletemailbox -a $account $list > /dev/null);';
+                      qx(/home/don/bin/deletemailbox -a $account $list > /dev/null);'; then
            # Clean the lists up too
            for account in bugs lists; do
                find /home/don/Mail/$account -maxdepth 1 -mindepth 1 -type d \