We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6396a commit 4c9f6d3Copy full SHA for 4c9f6d3
scripts/zmaudit.pl.in
@@ -841,9 +841,11 @@ FROM `Frames` WHERE `EventId`=?';
841
unlink( split( /;/, $untainted_old_files ) );
842
}
843
844
- # Now delete any old swap files
845
- ( my $swap_image_root ) = ( $Config{ZM_PATH_SWAP} =~ /^(.*)$/ ); # De-taint
846
- File::Find::find( { wanted=>\&deleteSwapImage, untaint=>1 }, $swap_image_root );
+ eval {
+ # Now delete any old swap files
+ ( my $swap_image_root ) = ( $Config{ZM_PATH_SWAP} =~ /^(.*)$/ ); # De-taint
847
+ File::Find::find( { wanted=>\&deleteSwapImage, untaint=>1 }, $swap_image_root );
848
+ };
849
850
# Prune the Logs table if required
851
if ( $Config{ZM_LOG_DATABASE_LIMIT} ) {
0 commit comments