diff options
-rw-r--r-- | Incremental.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Incremental.c b/Incremental.c index cedb7928..c2a89c0b 100644 --- a/Incremental.c +++ b/Incremental.c @@ -1121,6 +1121,8 @@ static int partition_try_spare(char *devname, int *dfdp, struct dev_policy *pol, close(fd); } + closedir(dir); + if (!chosen) return 1; |