]> git.donarmstrong.com Git - bin.git/commitdiff
* tweak -e tests
authorDon Armstrong <don@donarmstrong.com>
Mon, 19 May 2008 08:43:11 +0000 (08:43 +0000)
committerDon Armstrong <don@donarmstrong.com>
Mon, 19 May 2008 08:43:11 +0000 (08:43 +0000)
getmail

diff --git a/getmail b/getmail
index 3eb978fc14588345fa0b0301b2b57e3cee4ea347..28233e82b570947743e63505f39478ebb59263cf 100755 (executable)
--- 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-]+)/;