non zero exit codes for classes scripts
mk.maddin at gmail.com
Sat Oct 26 18:40:14 CEST 2019
I upgraded from 5.8.1 to 5.8.9.
In general what is the expected behaviour for *.sh exit codes within classes folder? I am of course willing to find a workaround for my case (which I would expect something like "pkill fai-class") if that does not meet the expected behaviour :)
The man page of "fai-class" just states about exit codes "The exit code of every Script is written to the file status.log in LOGDIR."
It seems current behaviour is that every . sh script executing 'exit X' ends the fai-class processing (which makes sense from a sourcing point of perspective), while scripts without extension do not cause that behaviour (this was as far as I know always the case).
What is new to me is that a exit > 0 just causes no failure within task_defclass and continues as usual with printing "List of all classes: A B C D" and then with "Calling task_defvar" ...
Thanks for your help.
> On 26. Oct 2019, at 17:38, Thomas Lange <lange at informatik.uni-koeln.de> wrote:
> Hi Martin,
> which FAI versions are you comparing?
> regards Thomas
More information about the linux-fai