Skip to content

Commit

Permalink
use lfos, because fuser returns errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Dec 5, 2024
1 parent b37ddd5 commit dde85b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Maintenance/test_handling/treat_result_collection
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ while( $i=readdir($dir_h)){
if ( $is_good == 1 ){
if ( -s "$ftp_results_dir/$i" &&
exist_in_file($i) == 1 &&
system("fuser", "$ftp_results_dir/$i") != 0 ){
system("lsof", "-w", "$ftp_results_dir/$i") != 1 ){
system "cp $ftp_results_dir/$i $i";
system "chmod 644 $i";
$res = system "gunzip -t $i";
Expand Down

0 comments on commit dde85b1

Please sign in to comment.