diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2010-11-10 20:05:46 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2010-11-10 20:05:46 +0000 |
commit | 8023dd7e8e1d9187e0ba15f06f6e9fd1e7ee7970 (patch) | |
tree | 86f6c3d8b700fb4f29da472a143f9f8d021d0134 | |
parent | 901276912d8241ad61da3db57835d23cc7917205 (diff) |
fix for problem with undefined values in read_config() function
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1311 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | debian/nslcd.config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/nslcd.config b/debian/nslcd.config index 4af3d7c..bef5378 100644 --- a/debian/nslcd.config +++ b/debian/nslcd.config @@ -33,6 +33,8 @@ read_config() value=`sed -n 's/^'"$cfg_param"'[[:space:]]*\([^[:space:]].*[^[:space:]]\)[[:space:]]*$/\1/ip' "$cfgfile" | tail -n 1` [ -n "$value" ] && db_set "$debconf_param" "$value" fi + # we're done + return 0 } # check the system (non-LDAP configuration files) for some |