diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-16 14:20:30 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-16 14:20:30 +0300 |
commit | fa8bad20db100d95cf089b0b2d897c339327215c (patch) | |
tree | 2f80f2e015d26056cd741137dc4fdd069a6c4c5d /include/tests_ldap | |
parent | 2777caf6d218aeb40c2ebd8af2564be8201eeff1 (diff) |
Use -n instead of ! -z
Diffstat (limited to 'include/tests_ldap')
-rw-r--r-- | include/tests_ldap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_ldap b/include/tests_ldap index ae4a9599..0c6ae10e 100644 --- a/include/tests_ldap +++ b/include/tests_ldap @@ -66,7 +66,7 @@ fi done # Check if we found a valid location - if [ ! -z "${SLAPD_CONF_LOCATION}" ]; then + if [ -n "${SLAPD_CONF_LOCATION}" ]; then Display --indent 4 --text "- Checking slapd.conf" --result "${STATUS_FOUND}" --color GREEN else Display --indent 4 --text "- Checking slapd.conf" --result "${STATUS_NOT_FOUND}" --color YELLOW |