Skip to content

Commit

Permalink
aod-merger treats Zombie files like missing ones
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Feb 5, 2025
1 parent a73c085 commit ab5034d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Framework/AODMerger/src/aodMerger.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ int main(int argc, char* argv[])
printf("Processing input file: %s\n", line.Data());

auto inputFile = TFile::Open(line);
if (!inputFile) {
printf("Error: Could not open input file %s.\n", line.Data());
if (!inputFile || inputFile->IsZombie()) {
printf("Error: %s input file %s.\n", !inputFile ? "Could not open" : "Zombie", line.Data());
if (skipNonExistingFiles) {
continue;
} else {
Expand Down

0 comments on commit ab5034d

Please sign in to comment.