diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/remove.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/remove.c b/src/remove.c index 21c5ac0ac..eac7cfa10 100644 --- a/src/remove.c +++ b/src/remove.c @@ -513,10 +513,7 @@ is_empty_dir (char const *dir) { DIR *dirp = opendir (dir); if (dirp == NULL) - { - closedir (dirp); - return false; - } + return false; while (1) { |