* Do not delete the DB_PATH when called with -R.

This commit is contained in:
Justin Maggard 2010-10-27 00:43:37 +00:00
parent 6561dc37cb
commit b66f85936f

View File

@ -558,7 +558,7 @@ init(int argc, char * * argv)
runtime_vars.port = 0; // triggers help display
break;
case 'R':
snprintf(real_path, sizeof(real_path), "rm -rf %s", db_path);
snprintf(real_path, sizeof(real_path), "rm -rf %s/*", db_path);
system(real_path);
break;
case 'V':