Skip to content
Snippets Groups Projects
Commit 82c4ee5b authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=12649

escape ";" on log message to protect interpretation by shell
parent 3b4088e8
No related branches found
No related tags found
No related merge requests found
......@@ -1168,6 +1168,7 @@ log() {
MSG=${MSG//\'/\\\'}
MSG=${MSG//\(/\\\(}
MSG=${MSG//\)/\\\)}
MSG=${MSG//\;/\\\;}
local NODES=$(nodes_list)
for NODE in $NODES; do
do_node $NODE $LCTL mark "$MSG" 2> /dev/null || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment