diff options
Diffstat (limited to 'src/directory.c')
-rw-r--r-- | src/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c index a3efdf15e..9c8bd23fa 100644 --- a/src/directory.c +++ b/src/directory.c @@ -968,7 +968,7 @@ int writeDirectoryDB(void) DEBUG("writing DB\n"); - while (!(fp = fopen(dbFile, "w")) && errno == EINTR); + fp = fopen(dbFile, "w"); if (!fp) { ERROR("unable to write to db file \"%s\": %s\n", dbFile, strerror(errno)); |