Skip to content

modulecmd.tcl returns 0 exit code when module evaluation fail #540

Description

@xdelaruelle

As seen when working on easybuilders/easybuild-framework#4625, if module evaluation fails (modulefile does not exist or is buggy) modulecmd.tcl script exits with a 0 value.

It is expected that a command exits with a non-zero value if something unexpected happens.

This is especially important for tools that directly execute the modulecmd.tcl script, like EasyBuild, instead of using the module function.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions