From 4da02abb32a147a34780f176ef0775896a7f42d2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 1 Dec 2015 11:57:49 -0400 Subject: /dev/null test output --- commit.d/50vcs-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit.d/50vcs-commit b/commit.d/50vcs-commit index 569ba6c..89aa6c6 100755 --- a/commit.d/50vcs-commit +++ b/commit.d/50vcs-commit @@ -97,7 +97,7 @@ elif [ "$VCS" = bzr ] && [ -d .bzr ]; then EMAIL="$USER <$USER@$hostname>" export EMAIL else - bzr whoami || export EMAIL="$ORIG_USER <$ORIG_USER@$hostname>" + bzr whoami >/dev/null 2>&1 || export EMAIL="$ORIG_USER <$ORIG_USER@$hostname>" fi if [ -n "$logfile" ]; then bzr commit $BZR_COMMIT_OPTIONS -F "$logfile" -- cgit v1.2.3