From 8883191dd737c1a6dbb6142629713f3498b77109 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 19 May 2008 08:43:11 +0000 Subject: [PATCH] * tweak -e tests --- getmail | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getmail b/getmail index 3eb978f..28233e8 100755 --- a/getmail +++ b/getmail @@ -19,8 +19,8 @@ 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 2>&1; then - if [ -e ~/.ssh/ssh_agent_info_$HOSTNAME ]; then - . ~/.ssh/ssh_agent_info_$HOSTNAME > /dev/null; + if [ -e ~/.ssh/"ssh_agent_info_$HOSTNAME" ]; then + . ~/.ssh/"ssh_agent_info_$HOSTNAME" > /dev/null; fi; 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-]+)/; -- 2.39.5