Refactor/move shifts

This commit is contained in:
lablans 2025-01-07 12:01:24 +00:00
parent 2754c1c46f
commit b23615a218
2 changed files with 1 additions and 4 deletions

View File

@ -168,6 +168,7 @@ case "$ACTION" in
;; ;;
gitCredentials) gitCredentials)
loadVars >&2 loadVars >&2
shift 2
exec ./lib/gitpassword.sh $@ exec ./lib/gitpassword.sh $@
;; ;;
*) *)

View File

@ -4,10 +4,6 @@
SECRETS_FILE=/var/cache/bridgehead/secrets/gitetcbridgehead SECRETS_FILE=/var/cache/bridgehead/secrets/gitetcbridgehead
# Called from bridgehead, so shift 2 times
shift
shift
case "$1" in case "$1" in
erase) erase)
rm -f $SECRETS_FILE rm -f $SECRETS_FILE