[dak/master] Ignore if ldap server is down

View: New views
1 Messages — Rating Filter:   Alert me  

[dak/master] Ignore if ldap server is down

by Joerg Jaspert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

---
 ChangeLog                   |    2 ++
 config/debian/cron.dinstall |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4f92bb1..80aecab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
  batchmode/connect/setuptimeout to not take too long with
  connections... Also || true them, no need to die in dinstall if
  one host isn't reachable.
+ Also do not die when the ldap server is unreachable, just ignore
+ that error.
 
  * README: Updated mailing list location
 
diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall
index b61d03e..2478ed4 100755
--- a/config/debian/cron.dinstall
+++ b/config/debian/cron.dinstall
@@ -112,7 +112,7 @@ ts
 
 echo "Updating fingerprints"
 # Update fingerprints
-dak import-keyring -L /srv/keyring.debian.org/keyrings/debian-keyring.gpg
+dak import-keyring -L /srv/keyring.debian.org/keyrings/debian-keyring.gpg || true
 
 ts
 
--
1.5.5.GIT


--
To UNSUBSCRIBE, email to debian-dak-request@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

LightInTheBox - Buy quality products at wholesale price