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 a2651bb..ce6c899 100755 --- a/commit.d/50vcs-commit +++ b/commit.d/50vcs-commit @@ -51,7 +51,7 @@ elif [ "$VCS" = bzr ] && [ -d .bzr ]; then elif [ "$VCS" = darcs ] && [ -d _darcs ]; then logfile="$(mktemp -t etckeeper-$VCS.XXXXXXXXXX)" printf "%b" "$message" > "$logfile" - if [ -n "$USER" ]; then + if [ -z "$USER" ]; then USER=root fi if [ -n "$message" ]; then |