Skip to content

Commit ab5034d

Browse files
committed
aod-merger treats Zombie files like missing ones
1 parent a73c085 commit ab5034d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Framework/AODMerger/src/aodMerger.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ int main(int argc, char* argv[])
128128
printf("Processing input file: %s\n", line.Data());
129129

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

0 commit comments

Comments
 (0)