mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-23 19:53:47 +00:00
Fixed bug in monitor-info.getXInfo()
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -572,8 +572,10 @@ function monitorinfo()
|
|||||||
child.stdin.write(' {');
|
child.stdin.write(' {');
|
||||||
child.stdin.write(' display=$4;');
|
child.stdin.write(' display=$4;');
|
||||||
child.stdin.write(' }');
|
child.stdin.write(' }');
|
||||||
child.stdin.write(' match($0, /-auth .+/);');
|
child.stdin.write(' match($0, /-auth .+ +/);');
|
||||||
child.stdin.write(' _auth = substr($0,RSTART+6,RLENGTH-6);');
|
child.stdin.write(' split(substr($0,RSTART+6,RLENGTH-6), _authtok, " ");');
|
||||||
|
child.stdin.write(' _auth = _authtok[1];');
|
||||||
|
//child.stdin.write(' _auth = substr($0,RSTART+6,RLENGTH-6);');
|
||||||
child.stdin.write(' if($1=="' + consoleuid + '" && _auth!="")');
|
child.stdin.write(' if($1=="' + consoleuid + '" && _auth!="")');
|
||||||
child.stdin.write(" {");
|
child.stdin.write(" {");
|
||||||
child.stdin.write(" printf \"%s,%s,%s,%s\",$1,$2,_auth,display;");
|
child.stdin.write(" printf \"%s,%s,%s,%s\",$1,$2,_auth,display;");
|
||||||
|
|||||||
Reference in New Issue
Block a user