From a91ee7d3d0c362557eb58064245b4525ea7849a1 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 7 Dec 2024 13:22:17 +0200
Subject: [PATCH] pre-commit: Address some new warnings.

---
 ldap-account-manager/entrypoint | 2 +-
 nss-pam-ldapd/entrypoint        | 2 +-
 slapd/entrypoint                | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ldap-account-manager/entrypoint b/ldap-account-manager/entrypoint
index c952eea..626cbd1 100755
--- a/ldap-account-manager/entrypoint
+++ b/ldap-account-manager/entrypoint
@@ -12,4 +12,4 @@ lam-setpass "$LAM_PASSWORD"
 unset LAM_PASSWORD
 
 # Start the process.
-eval exec "$@"
+eval exec "$*"
diff --git a/nss-pam-ldapd/entrypoint b/nss-pam-ldapd/entrypoint
index 8ba43f2..326e8c9 100755
--- a/nss-pam-ldapd/entrypoint
+++ b/nss-pam-ldapd/entrypoint
@@ -34,4 +34,4 @@ TLS_CACERT  ${LDAP_SASL_SECPROPS:-}
 TLS_REQCERT ${LDAP_REQCERT:-}
 EOF
 
-eval exec gosu "nslcd:nslcd" "$@"
+eval exec gosu "nslcd:nslcd" "$*"
diff --git a/slapd/entrypoint b/slapd/entrypoint
index 401557c..b861bbb 100755
--- a/slapd/entrypoint
+++ b/slapd/entrypoint
@@ -69,4 +69,4 @@ EOF
 unset PASSWORD_HASH
 
 # Run CMD.
-eval exec "$@"
+eval exec "$*"
-- 
GitLab