diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-01 11:57:49 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-01 11:57:49 -0400 |
commit | 4da02abb32a147a34780f176ef0775896a7f42d2 (patch) | |
tree | b023250440c0246e9488f4a9665d8681fbf5ceec /commit.d/50vcs-commit | |
parent | a1eda6d10d7b2d712e9e248e9a48970bec53d5f0 (diff) |
/dev/null test output
Diffstat (limited to 'commit.d/50vcs-commit')
-rwxr-xr-x | commit.d/50vcs-commit | 2 |
1 files changed, 1 insertions, 1 deletions
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" |