projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Another minor change to BackupPC_Admin
[BackupPC.git]
/
bin
/
BackupPC_trashClean
diff --git
a/bin/BackupPC_trashClean
b/bin/BackupPC_trashClean
index
08815d2
..
43abbf6
100755
(executable)
--- a/
bin/BackupPC_trashClean
+++ b/
bin/BackupPC_trashClean
@@
-29,7
+29,7
@@
#
#========================================================================
#
#
#========================================================================
#
-# Version
1.6.0_CVS, released 10 Dec 2002
.
+# Version
2.0.0beta2, released 13 Apr 2003
.
#
# See http://backuppc.sourceforge.net.
#
#
# See http://backuppc.sourceforge.net.
#
@@
-51,7
+51,9
@@
$bpc->ChildInit();
###########################################################################
while ( 1 ) {
print("processState running\n");
###########################################################################
while ( 1 ) {
print("processState running\n");
- 1 while ( $bpc->RmTreeTrashEmpty("$TopDir/trash") );
+ if ( $bpc->RmTreeTrashEmpty("$TopDir/trash") < 0 ) {
+ print("log BackupPC_trashClean failed to empty $TopDir/trash\n");
+ }
print("processState idle\n");
sleep($Conf{TrashCleanSleepSec} || 300);
}
print("processState idle\n");
sleep($Conf{TrashCleanSleepSec} || 300);
}