Skip to content

Modules does not properly remove path starting with ~ when unloading a module #597

Description

@x3x7

Describe the bug

In Fedora 42 from WSL2 (Windows Subsystem for Linux 2) the modules do not properly remove the path when unloading a module

To Reproduce

Steps to reproduce the behavior:

Create a module with prepend-path and load it.
When unloading it the path element still remains.

This happens with bash as well as tcsh and even with very simple, empty PATH.

Expected behavior

The added path to be removed.

Modules version and configuration

environment-modules-5.5.0-3.fc42

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