diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 17:22:04 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 17:22:04 -0500 |
commit | c01f3fe97eadce94a2f37908dc57f54d9af5b25a (patch) | |
tree | b04553d480f117ec6ff8579aaab89a066cf76947 /pre-commit.d/10warn-hardlinks | |
parent | df87161ec2d79fc7074cf7bb44f9ac24bed638cc (diff) |
fixes
Diffstat (limited to 'pre-commit.d/10warn-hardlinks')
-rwxr-xr-x | pre-commit.d/10warn-hardlinks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pre-commit.d/10warn-hardlinks b/pre-commit.d/10warn-hardlinks index 29f007b..3dd7a96 100755 --- a/pre-commit.d/10warn-hardlinks +++ b/pre-commit.d/10warn-hardlinks @@ -1,6 +1,6 @@ #!/bin/sh set -e -hardlinks=$(find -type f -not -links 1 | grep -v /.git/) +hardlinks=$(find -type f -not -links 1 | grep -v /.git/) || true if [ -n "$hardlinks" ]; then echo "etckeeper warning: hardlinked files could cause problems with git:" >&2 echo "$hardlinks" >&2 |