From 848ce9c10b03193c7c915d5244cb84ae73caa11a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=27Morty=27=20Str=C3=BCbe?= Date: Fri, 11 Nov 2022 16:44:05 +0100 Subject: [PATCH] cleanliness.sh: Exit if stash is needed --- releng/scripts/check_code_cleanliness.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/releng/scripts/check_code_cleanliness.sh b/releng/scripts/check_code_cleanliness.sh index 120ec162c31..0452f281cc5 100755 --- a/releng/scripts/check_code_cleanliness.sh +++ b/releng/scripts/check_code_cleanliness.sh @@ -14,6 +14,7 @@ set -e if test ! -z "$(git status -s -uno)"; then echo "You have changes. Please stash them before continuing." + exit 1 fi ##