forked from ungleich-public/cdist
show files that prevent release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
c074d377aa
commit
5f2aff73dc
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ eof
|
|||
"$0" version
|
||||
|
||||
# Ensure the git status is clean, else abort
|
||||
if ! git diff-index --name-only --quiet HEAD >/dev/null; then
|
||||
if ! git diff-index --name-only --exit-code HEAD ; then
|
||||
echo "Unclean tree, aborting"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue