1
0
Fork 0

Do not use fatal but a skipable error

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

View file

@ -61,7 +61,8 @@ for repo_name in "${!REPOS[@]}"; do
# Do not overwrite local changes
if (! config diff --exit-code 2>&1 >/dev/null) && [ ${FORCE} -eq 0 ]; then
fatal "Repo '${repo_name}' has unsaved changes and force-flag is not set"
error "Repo '${repo_name}' has unsaved changes and force-flag is not set"
continue
fi
# Refresh latest master