diff --git a/prune-packed.c b/prune-packed.c
index 73f0f3a46277e9053d97590f8e2200477fe247e3..26123f7f6bb8bf9cc7fc27905fe2b67d66646f05 100644 (file)
--- a/prune-packed.c
+++ b/prune-packed.c
error("unable to unlink %s", pathname);
}
pathname[len] = 0;
- if (rmdir(pathname))
- mkdir(pathname, 0777);
+ rmdir(pathname);
}
static void prune_packed_objects(void)
/* Handle arguments here .. */
usage(prune_packed_usage);
}
+ sync();
prune_packed_objects();
return 0;
}