Commits (1)
...@@ -77,8 +77,8 @@ function str_cmds(str) ...@@ -77,8 +77,8 @@ function str_cmds(str)
} }
if(str=="HELP") { if(str=="HELP") {
writeln("ERR\tDisplay currrent error log and opptionally delete it as well as"); writeln("ERR\tDisplay current error log and optionally delete it, as well as");
writeln("\toptionally clearing all nodes error counters."); writeln("\toptionally clearing all nodes' error counters.");
} }
if(str=="ERR") { if(str=="ERR") {
var errlog=system.logs_dir+"error.log"; var errlog=system.logs_dir+"error.log";
...@@ -152,7 +152,7 @@ function str_cmds(str) ...@@ -152,7 +152,7 @@ function str_cmds(str)
if(str=="HELP") { if(str=="HELP") {
writeln("EVAL [string]"); writeln("EVAL [string]");
writeln("\tEvaluate a JavaScirpt expression and display result."); writeln("\tEvaluate a JavaScript expression and display result.");
} }
if(word=="EVAL") { if(word=="EVAL") {
if(bbs.check_syspass()) { if(bbs.check_syspass()) {
...@@ -307,7 +307,7 @@ function str_cmds(str) ...@@ -307,7 +307,7 @@ function str_cmds(str)
writeln("\texecutes the node utility with the passed parameters."); writeln("\texecutes the node utility with the passed parameters.");
} }
if(word=="NODE") { if(word=="NODE") {
bbs.exec(bbs.cmdstr("%!node%.") + str.substr(4).toLowerCase(), EX_STDIO|EX_NATIVE); bbs.exec(bbs.cmdstr("%!node%. -pause ") + str.substr(4), EX_STDIO|EX_NATIVE);
return; return;
} }
......