From ff6dcc75a67debcd8fcfea18803b47bc077cf8a7 Mon Sep 17 00:00:00 2001 From: "root@zabbix.znil.net" Date: Fri, 17 Apr 2020 11:46:45 +0200 Subject: [PATCH] prevent parameter shift, rollback because it was no error --- zabbix-ldap-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix-ldap-sync.sh b/zabbix-ldap-sync.sh index 67349e7..a425524 100755 --- a/zabbix-ldap-sync.sh +++ b/zabbix-ldap-sync.sh @@ -153,8 +153,8 @@ while [[ $# -gt 0 ]]; do current_parameter="$1" case $current_parameter in -c|-C|--config) + Config_File="$2" shift # past -c / --config - Config_File="$current_parameter" shift # past value ;; -p|-P|--ShowPassword)