From 17db6c110f591226c6dd6a7517295f9bd07c30eb Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 21 Jun 2009 12:14:02 -0400
Subject: [PATCH] FS#770 - DNS A - BACK button returns you to domain list 

---
 server/scripts/run-getmail.sh |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/server/scripts/run-getmail.sh b/server/scripts/run-getmail.sh
index fab297d..998ecab 100644
--- a/server/scripts/run-getmail.sh
+++ b/server/scripts/run-getmail.sh
@@ -3,7 +3,11 @@
 cd /etc/getmail
 rcfiles=""
 for file in *.conf ; do
+if [ $file != "*.conf" ]; then
 rcfiles="$rcfiles -r $file"
+fi
 done
 #echo $rcfiles
-exec /usr/bin/getmail -n -v -g /etc/getmail $rcfiles
\ No newline at end of file
+if [ "$rcfiles" != "" ]; then
+exec /usr/bin/getmail -n -v -g /etc/getmail $rcfiles
+fi
\ No newline at end of file

--
Gitblit v1.9.1