diff options
Diffstat (limited to 'prune-packed.c')
-rw-r--r-- | prune-packed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prune-packed.c b/prune-packed.c index 73f0f3a46..1e0fc0cd9 100644 --- a/prune-packed.c +++ b/prune-packed.c @@ -27,7 +27,7 @@ static void prune_dir(int i, DIR *dir, char *pathname, int len) error("unable to unlink %s", pathname); } pathname[len] = 0; - if (rmdir(pathname)) + if (!rmdir(pathname)) mkdir(pathname, 0777); } |