From 8141a4df5c77faa99dd7b7357d6520069b32a213 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 3 Jan 2006 10:14:26 +0000 Subject: [PATCH] get rid of option -a requires argument errors --- getmail | 1 + 1 file changed, 1 insertion(+) diff --git a/getmail b/getmail index 3a5fc55..b824fab 100755 --- a/getmail +++ b/getmail @@ -17,6 +17,7 @@ if [ -z "$CRON" ] || kill -0 `pgrep -U $(id -u) -x $MUA` 2>/dev/null; then if ping -q -c 3 $IMAPHOST >/dev/null 2>&1; then 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);'; fi; fi; -- 2.39.2