Skip to content

Commit

Permalink
πŸ› Fix loading no cert of no one was provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Friedinger committed Aug 12, 2024
1 parent b065b4a commit 197f0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion githubpeople.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi

# Find .pem certificate and load it for ldap
cert=$(find . -type f -name "*.pem" -print -quit)
if [ -f $cert ]; then
if [ $cert ] && [ -f $cert ]; then
echo "TLS_CACERT $cert" >> /etc/ldap/ldap.conf
echo "Zertifikat $cert geladen."
else
Expand Down

0 comments on commit 197f0d3

Please sign in to comment.