From: Ivan Rako Date: Fri, 9 Dec 2011 20:32:07 +0000 (+0100) Subject: jos ispravki X-Git-Tag: debian/3.0.1~5 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=carnet-tools-cn.git;a=commitdiff_plain;h=b588aa66f8f4f1d43fd570736a8b0d106c6d039c jos ispravki --- diff --git a/functions.sh b/functions.sh index 49fc2c6..dc3450d 100644 --- a/functions.sh +++ b/functions.sh @@ -487,6 +487,7 @@ cp_get_ldap_realm() { if [ ! -d /etc/ldap/slapd.d/ -a ! -f /etc/ldap/slapd.conf ]; then echo "cp_get_ldap_realm: /etc/ldap/slapd.{d/,conf}: No such file or directory" >&2 + return 2 fi cp_get_ldap_suffix || true