#
#========================================================================
#
-# Version 2.0.0_CVS, released 3 Feb 2003.
+# Version 2.0.0, released 14 Jun 2003.
#
# See http://backuppc.sourceforge.net.
#
#========================================================================
use strict;
+no utf8;
use lib "/usr/local/BackupPC/lib";
use BackupPC::Lib;
###########################################################################
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);
}