summaryrefslogtreecommitdiff
path: root/offlineimap-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'offlineimap-wrapper.sh')
-rwxr-xr-xofflineimap-wrapper.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/offlineimap-wrapper.sh b/offlineimap-wrapper.sh
index bc60571..487747f 100755
--- a/offlineimap-wrapper.sh
+++ b/offlineimap-wrapper.sh
@@ -1,7 +1,4 @@
#!/bin/sh
-. $HOME/.gpg-agent-info
-export GPG_AGENT_INFO
-export DISPLAY=:0
-/usr/bin/offlineimap >> $HOME/.offlineimap.log
-
+export KRB5CCNAME=$(cat $HOME/.KRB5CCNAME)
+klist -s && /usr/bin/offlineimap >> $HOME/.offlineimap.log