dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit a54afccf81b4152c8767ea4eaee2f93e39ac9eba
parent 8faf31baa2005f46bc2e6ad13edb1261717244a7
Author: sin <sin@2f30.org>
Date:   Thu,  9 May 2019 13:45:14 +0100

Nuke some whitespace

Diffstat:
Mlock.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/lock.c b/lock.c @@ -17,7 +17,6 @@ lockrepo(char *repo) fd = open(path, O_RDWR | O_CREAT, 0600); if (fd < 0) return -1; - fl.l_type = F_WRLCK; fl.l_whence = SEEK_SET; fl.l_start = 0; @@ -40,7 +39,6 @@ unlockrepo(int fd) fl.l_len = 0; if (fcntl(fd, F_SETLK, &fl) < 0) return -1; - if (close(fd) < 0) return -1; return 0;