__netbox: fix ldap config short-circuit

Forgot to negotate if statement .. works now :/
This commit is contained in:
matze 2020-08-24 18:57:27 +02:00
parent 863c95059e
commit 95fd7d872e

View file

@ -1,7 +1,7 @@
#!/bin/sh
# no configuration if there are no ldap parameters
if [ "$(find "$__object/parameter/" -type f -name 'ldap-*' -print)" ]; then
if [ -z "$(find "$__object/parameter/" -type f -name 'ldap-*' -print)" ]; then
# skip
cat << EOF
##############################