aboutsummaryrefslogtreecommitdiffstats
path: root/util/dotlock.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-08-30 18:48:57 +0000
committerWerner Koch <[email protected]>1999-08-30 18:48:57 +0000
commitc2c397bedfe748472a3d1045f24a79a062e7fa5e (patch)
tree2b0613d28783e42e76908d848167f0244dcbeb88 /util/dotlock.c
parentSee ChangeLog: Wed Aug 4 10:34:46 CEST 1999 Werner Koch (diff)
downloadgnupg-c2c397bedfe748472a3d1045f24a79a062e7fa5e.tar.gz
gnupg-c2c397bedfe748472a3d1045f24a79a062e7fa5e.zip
See ChangeLog: Mon Aug 30 20:38:33 CEST 1999 Werner Koch
Diffstat (limited to '')
-rw-r--r--util/dotlock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/dotlock.c b/util/dotlock.c
index 644cf8e3a..369a3d42a 100644
--- a/util/dotlock.c
+++ b/util/dotlock.c
@@ -123,6 +123,7 @@ create_dotlock( const char *file_to_lock )
S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR );
} while( fd == -1 && errno == EINTR );
if( fd == -1 ) {
+ all_lockfiles = h->next;
log_error( "failed to create temporary file `%s': %s\n",
h->tname, strerror(errno));
m_free(h->tname);