prevent parameter shift, rollback because it was no error
This commit is contained in:
parent
12533f8f5f
commit
ff6dcc75a6
@ -153,8 +153,8 @@ while [[ $# -gt 0 ]]; do
|
|||||||
current_parameter="$1"
|
current_parameter="$1"
|
||||||
case $current_parameter in
|
case $current_parameter in
|
||||||
-c|-C|--config)
|
-c|-C|--config)
|
||||||
|
Config_File="$2"
|
||||||
shift # past -c / --config
|
shift # past -c / --config
|
||||||
Config_File="$current_parameter"
|
|
||||||
shift # past value
|
shift # past value
|
||||||
;;
|
;;
|
||||||
-p|-P|--ShowPassword)
|
-p|-P|--ShowPassword)
|
||||||
|
Loading…
Reference in New Issue
Block a user