prevent parameter shift, rollback because it was no error

master
root@zabbix.znil.net 2020-04-17 11:46:45 +02:00
parent 12533f8f5f
commit ff6dcc75a6
1 changed files with 1 additions and 1 deletions

View File

@ -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)