X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=functions.sh;h=dc3450d81121e3cc631eacb2cfebe75fae6b5cd9;hb=b588aa66f8f4f1d43fd570736a8b0d106c6d039c;hp=49fc2c6cea57763ca1feed37e20ce2ba7d4f4657;hpb=4eb4fa7dad117af95b07ca9f7a81ec4301e40254;p=carnet-upgrade.git 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