From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Thu, 12 Mar 2026 00:47:31 +0000 (+0300) Subject: Auto-commit: check_repo.sh updated on 3/12/2026, 2026-03-12T00:47:31.523Z X-Git-Url: https://git.vados.ru/gitweb.cgi?a=commitdiff_plain;h=c117f74a4151d594bd95c5e54599e4b22ead36db;p=Mikrotiks%2Fros.vados.ru.git Auto-commit: check_repo.sh updated on 3/12/2026, 2026-03-12T00:47:31.523Z --- diff --git a/bin/check_repo.sh b/bin/check_repo.sh index 1ecb927dc..03e2e2abc 100755 --- a/bin/check_repo.sh +++ b/bin/check_repo.sh @@ -12,13 +12,13 @@ if [[ -n "$dirty" ]]; then printf "%s\n" "$dirty" echo "[check_repo] resolve conflicts and run: git add && git commit" bash bin/notify_telegram.sh "STOP: repo conflicts in $(pwd)" - exit 1 + exit 2 fi # Exit 0 only when repo is NOT clean to allow autocommit flow. if git diff --quiet && git diff --cached --quiet && [[ -z "$lsfiles" ]]; then echo "[check_repo] repo clean. Exit 1 from check_repo.sh." - exit 1 + exit 2 else echo "[check_repo] repo not clean. Exit 0 from check_repo.sh." exit 0