/*
- * $Id: store.cc,v 1.171 1996/11/30 22:00:46 wessels Exp $
+ * $Id: store.cc,v 1.172 1996/12/01 07:33:43 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
}
if (clean && opt_unlink_on_reload) {
debug(20, 1, "storeVerifySwapDirs: Zapping all objects on disk storage.\n");
- /* This could be dangerous, second copy of cache can destroy
- * the existing swap files of the previous cache. We may
- * use rc file do it. */
cmdbuf = xcalloc(1, BUFSIZ);
- sprintf(cmdbuf, "cd %s; /bin/rm -rf log [0-9][0-9]", path);
+ sprintf(cmdbuf, "cd %s; /bin/rm -rf log 0[0-9A-F]", path);
debug(20, 1, "storeVerifySwapDirs: Running '%s'\n", cmdbuf);
system(cmdbuf); /* XXX should avoid system(3) */
xfree(cmdbuf);