Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
src
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pmodules
src
Commits
611aae3b
Commit
611aae3b
authored
Sep 24, 2019
by
gsell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modulecmd: log loaded modules to syslog
parent
0b0668d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Pmodules/modulecmd.bash.in
Pmodules/modulecmd.bash.in
+6
-4
No files found.
Pmodules/modulecmd.bash.in
View file @
611aae3b
...
...
@@ -526,13 +526,15 @@ subcommand_load() {
"
${
current_modulefile
}
"
fi
if
[[
${
verbosity_lvl
}
!=
silent
]]
&&
\
[[
${
release
}
!=
stable
]]
;
then
std::info
"%s %s: %s -- %s
\n
"
\
local
msg
=
$(
printf
"%s %s: %s -- %s
\n
"
\
"
${
CMD
}
"
'load'
\
"
${
release
}
module has been loaded"
\
"
${
m
}
"
"
${
m
}
"
)
if
[[
${
verbosity_lvl
}
!=
silent
]]
&&
\
[[
${
release
}
!=
stable
]]
;
then
std::info
"
${
msg
}
"
fi
logger
"
${
msg
}
"
done
# fix LOADEDMODULES
LOADEDMODULES
=
"
${
_LMFILES_
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment