diff options
Diffstat (limited to 'pre-commit.d/10warn-special-file')
-rwxr-xr-x | pre-commit.d/10warn-special-file | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pre-commit.d/10warn-special-file b/pre-commit.d/10warn-special-file index aa5c683..cb4d019 100755 --- a/pre-commit.d/10warn-special-file +++ b/pre-commit.d/10warn-special-file @@ -1,7 +1,9 @@ #!/bin/sh set -e -special=$(find -not -type d -not -type f -not -type l | grep -v /.git/) +special=$(find -not -type d -not -type f -not -type l | grep -v /.git/) || true if [ -n "$special" ]; then echo "etckeeper warning: special files could cause problems with git:" >&2 echo "$special" >&2 fi + +true |