From 795bb130cdded1609cd663d5e1f668f88c2c6b6d Mon Sep 17 00:00:00 2001 From: Simon Branford <4967+branfosj@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:27:54 +0000 Subject: [PATCH] and the other case --- easybuild/tools/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/tools/modules.py b/easybuild/tools/modules.py index 78d428f8e8..7feba289f3 100644 --- a/easybuild/tools/modules.py +++ b/easybuild/tools/modules.py @@ -1367,7 +1367,7 @@ def check_module_function(self, allow_mismatch=False, regex=None): out, ec = None, 1 else: cmd = "type _module_raw" - res = run_shell_cmd(cmd, fail_on_error=False, in_dry_run=False, hidden=True, output_file=False) + res = run_shell_cmd(cmd, fail_on_error=False, in_dry_run=True, hidden=True, output_file=False) out, ec = res.output, res.exit_code if regex is None: