• Dorian Krause's avatar
    srun: Prevent shepard proc from calling spank_fini() · d522f721
    Dorian Krause authored
    The spank_fini() function is registered with atexit() to be called
    after termination of the srun main() function. The registered
    functions are inherited by the forked shepard process and thus
    spank_fini() is called twice.
    This commit fixes this problem by introducing a wrapper function
    _call_spank_fini() that is a no-op in the context of the shepard
    process.
    d522f721
To find the state of this project's repository at the time of any of these versions, check out the tags.