mirror of https://github.com/samply/bridgehead.git
Refactor/move shifts
This commit is contained in:
parent
2754c1c46f
commit
b23615a218
|
@ -168,6 +168,7 @@ case "$ACTION" in
|
|||
;;
|
||||
gitCredentials)
|
||||
loadVars >&2
|
||||
shift 2
|
||||
exec ./lib/gitpassword.sh $@
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -4,10 +4,6 @@
|
|||
|
||||
SECRETS_FILE=/var/cache/bridgehead/secrets/gitetcbridgehead
|
||||
|
||||
# Called from bridgehead, so shift 2 times
|
||||
shift
|
||||
shift
|
||||
|
||||
case "$1" in
|
||||
erase)
|
||||
rm -f $SECRETS_FILE
|
||||
|
|
Loading…
Reference in New Issue