Hadd option to skip problematic root files

Dear experts,

I wonder if in the hadd command to add root files:

hadd file_sum.root file1.root file2.root file3.root … fileN.root

there if an option to skip a root file which may have trouble.
For example if it couldn’t open or read file3.root, it just skip
it and continue to add file4.root…?

Regards

if you type “hadd -help” you get the list of options.
It looks like you are looking for the option -k.

Dear Couet,

yes that’s what I was looking for.

Regards