modulecmd: don't print message after loading a stable module

This commit is contained in:
2025-05-28 14:44:56 +02:00
parent d906512980
commit d89066bff2
+1
View File
@@ -378,6 +378,7 @@ Thank you for your understanding.
print_module_load_msg(){
local -r relstage="$1"
local -- msg=''
[[ "${relstage}" == 'stable' ]] && return 0
printf -v msg "%s %s: %s -- %s" \
"${CMD}" 'load' \
"${relstage} module has been loaded" \