I would suggest to keep a log of errors (for each link add the corresponding error - stderr) and if no success until the list end, return the exit code of the last error and put in stderr the whole error log. If success just return the output of successful operation (with an exit of 0 of course)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1071?email_source=notifications\u0026email_token=AA7NRDSDCZZHYMSZOGFXT43QOVWAHA5CNFSM4JAUREG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBHXEPY#issuecomment-542077503", "url": "https://github.com/xrootd/xrootd/issues/1071?email_source=notifications\u0026email_token=AA7NRDSDCZZHYMSZOGFXT43QOVWAHA5CNFSM4JAUREG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBHXEPY#issuecomment-542077503", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1