RE: [EXTERNAL] strange exit code

Skip to first unread message

Demian Katz

Oct 15, 2019, 12:22:48 PM10/15/19

I'm copying the SolrMarc tech list into this reply. I took a quick look at the script, and I don't see an obvious reason why this would ever return 5... which suggests that the return status is coming from the Java application itself. I'm hoping that somebody on the list can enlighten us about the meaning of the codes... but if we don't get a response there, please remind me in a couple of days and I'll dig into the Java code to see if I can figure something out. (If you want to look yourself, you can find the code at

- Demian

-----Original Message-----
From: Honza Hejzl <>
Sent: Tuesday, October 15, 2019 10:03 AM
To: Demian Katz <>
Subject: [EXTERNAL] strange exit code


please, have you any idea why the import process via could ever return 5 ?

It seems it is returned very often but it probably does not mean something bad. The problem is it behaves like false in bash scripts and I need to hack that with the classic: import || true, which is quite unsystematic and unclear.

I haven't met such a strange code before :)

I thought it could be something thrown by the importer itself (java) but have no idea how to check that. (And what on Earth does the code mean!)

- Honza

Reply all
Reply to author
0 new messages