Fix: Unbound variable

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-04-03 19:35:47 +02:00
parent 7aecf1f8de
commit fc6ad557bd
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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