Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'pa/auto-gc-mac-osx'
[gitweb.git]
/
lockfile.c
diff --git
a/lockfile.c
b/lockfile.c
index fb78bda495574d57701dd5148557b4e6badefbc9..993bb8274833651159cec6f0571b5b555ea073ca 100644
(file)
--- a/
lockfile.c
+++ b/
lockfile.c
@@
-276,7
+276,7
@@
int hold_lock_file_for_append(struct lock_file *lk, const char *path, int flags)
int save_errno = errno;
if (flags & LOCK_DIE_ON_ERROR)
-
exit(128
);
+
die("failed to prepare '%s' for appending", path
);
close(orig_fd);
rollback_lock_file(lk);
errno = save_errno;