Skip to content

Commit 162af63

Browse files
shahor02alcaliva
authored andcommitted
aod-merger treats Zombie files like missing ones
(cherry picked from commit de69487)
1 parent 8280dc9 commit 162af63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Framework/AODMerger/src/aodMerger.cxx

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

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

0 commit comments

Comments
 (0)