summaryrefslogtreecommitdiff
path: root/unclean.d
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-07-07 15:35:48 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-07-07 15:35:48 +0200
commit1dfcebda304fdc3572ac560bf7c72211ac2d98a6 (patch)
tree97631bf925a531eee405b453e0a981183f496fbd /unclean.d
parentad229124e445457cc70ca66c97af3f98c95c05db (diff)
Ignore warnings from bzr plugins when checking for changes in the tree.
Diffstat (limited to 'unclean.d')
-rwxr-xr-xunclean.d/50test2
1 files changed, 1 insertions, 1 deletions
diff --git a/unclean.d/50test b/unclean.d/50test
index f260f36..9dfefc3 100755
--- a/unclean.d/50test
+++ b/unclean.d/50test
@@ -6,5 +6,5 @@ if [ "$VCS" = git ]; then
elif [ "$VCS" = hg ]; then
[ -d .hg ] && ! hg status 2>&1 | wc -l | grep -q "^0$"
elif [ "$VCS" = bzr ]; then
- [ -d .bzr ] && ! bzr status 2>&1 | wc -l | grep -q "^0$"
+ [ -d .bzr ] && ! bzr status 2>/dev/null | wc -l | grep -q "^0$"
fi