diff options
Diffstat (limited to 'lib/dotlock.c')
-rw-r--r-- | lib/dotlock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dotlock.c b/lib/dotlock.c index c111159..e091686 100644 --- a/lib/dotlock.c +++ b/lib/dotlock.c | |||
@@ -1286,6 +1286,8 @@ dotlock_remove_lockfiles (void) | |||
1286 | { | 1286 | { |
1287 | dotlock_t h, h2; | 1287 | dotlock_t h, h2; |
1288 | 1288 | ||
1289 | if( never_lock ) return; | ||
1290 | |||
1289 | /* First set the lockfiles list to NULL so that for example | 1291 | /* First set the lockfiles list to NULL so that for example |
1290 | dotlock_release is ware that this fucntion is currently | 1292 | dotlock_release is ware that this fucntion is currently |
1291 | running. */ | 1293 | running. */ |