2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-15 15:50:22 +00:00

Missing some 'echo' when running updatenode, and put it back (#4706)

This commit is contained in:
Bin Xu
2018-01-24 11:51:47 +08:00
committed by yangsong
parent c8ace50d21
commit 78dbe4274b

View File

@@ -881,7 +881,7 @@ run_ps () {
fi
if [ -f \$1 ]; then
#echo \"\`date\` Running \$scriptype: \$1\"
echo \"\`date\` Running \$scriptype: \$1\"
msgutil_r \"\$MASTER_IP\" \"info\" "\"Running \$scriptype: \$1\"" \"\$logfile\" \"xcat.mypostscript\"
if [ \"\$XCATDEBUGMODE\" = \"1\" ] || [ \"\$XCATDEBUGMODE\" = \"2\" ]; then
local compt=\$(file \$1)
@@ -901,10 +901,10 @@ run_ps () {
if [ \"\$ret_local\" -ne \"0\" ]; then
return_value=\$ret_local
fi
#echo \"\$scriptype: \$1 exited with code \$ret_local\"
echo \"\$scriptype: \$1 exited with code \$ret_local\"
msgutil_r \"\$MASTER_IP\" \"info\" "\"\$scriptype \$1 return with \$ret_local\"" \"\$logfile\" \"xcat.mypostscript\"
else
#echo \"\`date\` \$scriptype \$1 does NOT exist.\"
echo \"\`date\` \$scriptype \$1 does NOT exist.\"
msgutil_r \"\$MASTER_IP\" \"error\" "\"\$scriptype \$1 does NOT exist.\"" \"\$logfile\" \"xcat.mypostscript\"
return_value=-1
fi