__netbox: fix ldap config short-circuit
Forgot to negotate if statement .. works now :/
This commit is contained in:
parent
863c95059e
commit
95fd7d872e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# no configuration if there are no ldap parameters
|
# 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
|
# skip
|
||||||
cat << EOF
|
cat << EOF
|
||||||
##############################
|
##############################
|
||||||
|
|
Loading…
Reference in a new issue