summaryrefslogtreecommitdiffstats
path: root/src/cleanup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-06-05 20:14:45 +0000
committerLennart Poettering <lennart@poettering.net>2005-06-05 20:14:45 +0000
commitb2972e79c5d11dfa0625bf43838cb65209f7e632 (patch)
treeee45296a668255b7ad63dfc0e0963209a7299093 /src/cleanup.c
parent37621a019f8fb5e0ac2e506b45279ab7ba67a167 (diff)
* cleanup trash recursively
* ignore some more files * compile as C99 with -pedantic * upgrade to Berkeley DB 4.3 * add some tests for rm_rf() and copy_fd() * remove some minor warnings * minor fixes git-svn-id: file:///home/lennart/svn/public/syrep/trunk@76 07ea20a6-d2c5-0310-9e02-9ef735347d72
Diffstat (limited to 'src/cleanup.c')
-rw-r--r--src/cleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleanup.c b/src/cleanup.c
index 447697d..f362240 100644
--- a/src/cleanup.c
+++ b/src/cleanup.c
@@ -40,7 +40,7 @@ int cleanup(const char *root) {
snprintf(p, sizeof(p), "%s/.syrep/" SYREP_TRASHDIR, root);
- if (rm_rf(p, 0) < 0)
+ if (rm_rf(p, 1) < 0)
return -1;
if (args.verbose_flag)