diff options
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" |