diff --git a/libraries/liblutil/ldif.c b/libraries/liblutil/ldif.c index 482a604d62..f3badef0b4 100644 --- a/libraries/liblutil/ldif.c +++ b/libraries/liblutil/ldif.c @@ -879,7 +879,9 @@ ldif_read_record( /* We failed to open the file, this should * be reported as an error somehow. */ - break; + ber_pvt_log_printf( LDAP_DEBUG_ANY, ldif_debug, + _("ldif_read_record: include %s failed\n"), ptr ); + return 0; } } }