From 1a57f931b61684b92a5322e18ee6e4b27a7d8c31 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 4 Apr 2006 00:09:00 +0000 Subject: [PATCH] Don't exit in dir_open. --- index/dir.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index/dir.c b/index/dir.c index dc56847..44b22cb 100644 --- a/index/dir.c +++ b/index/dir.c @@ -1,4 +1,4 @@ -/* $Id: dir.c,v 1.31 2005-06-14 20:28:53 adam Exp $ +/* $Id: dir.c,v 1.32 2006-04-04 00:09:00 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -70,8 +70,6 @@ struct dir_entry *dir_open (const char *rep, const char *base, if (!(dir = opendir(full_rep))) { yaz_log (YLOG_WARN|YLOG_ERRNO, "opendir %s", rep); - if (errno != ENOENT && errno != EACCES) - exit (1); return NULL; } entry = (struct dir_entry *) xmalloc (sizeof(*entry) * entry_max); -- 1.7.10.4