fix(BACKUP): fix missing parameter shift
- docker timeout parameters
This commit is contained in:
parent
053e45affc
commit
e127616800
@ -367,6 +367,7 @@ while [ $# -gt 0 ]; do
|
|||||||
badParam empty "$@"
|
badParam empty "$@"
|
||||||
else
|
else
|
||||||
dockerStartTimeout="$2"
|
dockerStartTimeout="$2"
|
||||||
|
shift
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
-t2|--timeout-stop)
|
-t2|--timeout-stop)
|
||||||
@ -374,6 +375,7 @@ while [ $# -gt 0 ]; do
|
|||||||
badParam empty "$@"
|
badParam empty "$@"
|
||||||
else
|
else
|
||||||
dockerStopTimeout="$2"
|
dockerStopTimeout="$2"
|
||||||
|
shift
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user