Fix: Unbound variable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7aecf1f8de
commit
fc6ad557bd
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ for repo_name in "${!REPOS[@]}"; do
|
||||||
|
|
||||||
# Do not overwrite local changes
|
# Do not overwrite local changes
|
||||||
if (! config diff --exit-code 2>&1 >/dev/null) && [ ${FORCE} -eq 0 ]; then
|
if (! config diff --exit-code 2>&1 >/dev/null) && [ ${FORCE} -eq 0 ]; then
|
||||||
fatal "Repo '${REPO}' has unsaved changes and force-flag is not set"
|
fatal "Repo '${repo_name}' has unsaved changes and force-flag is not set"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Refresh latest master
|
# Refresh latest master
|
||||||
|
|
Loading…
Reference in a new issue