]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Auto-commit: Makefile updated on 3/6/2026
authorvados-dev <vados@vados.ru>
Fri, 6 Mar 2026 17:05:57 +0000 (20:05 +0300)
committervados-dev <vados@vados.ru>
Fri, 6 Mar 2026 17:05:57 +0000 (20:05 +0300)
Makefile

index 264bf73d370e3803c4b136804fb3e788560c7be2..fe3f41ccde30757f94e5ba526da06a31a168ea57 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -65,11 +65,11 @@ check-uncommitted:
                else \
                echo "The first checks have been passed, the repo seems to be clean... But... Still, let's check a little more!"; \
                        if git status --porcelain; then \
-                               echo "Error! Git status is not porcelain! Check it mannualy. Exit 1."; \
-                               exit 1; \
-                       else \
                                echo "Repository is clean (no uncommitted or untracked changes). Exit 0."; \
                                exit 0; \
+                       else \
+                               echo "Error! Git status is not porcelain! Check it mannualy. Exit 1."; \
+                               exit 1; \
                        fi \
                fi