mirror of
https://github.com/samply/bridgehead.git
synced 2025-07-06 04:20:20 +02:00
Refactor/move shifts
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user