mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-24 04:04:31 +00:00
Fixed bug in monitor-info.getXInfo()
This commit is contained in:
@@ -572,8 +572,10 @@ function monitorinfo()
|
||||
child.stdin.write(' {');
|
||||
child.stdin.write(' display=$4;');
|
||||
child.stdin.write(' }');
|
||||
child.stdin.write(' match($0, /-auth .+/);');
|
||||
child.stdin.write(' _auth = substr($0,RSTART+6,RLENGTH-6);');
|
||||
child.stdin.write(' match($0, /-auth .+ +/);');
|
||||
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(" {");
|
||||
child.stdin.write(" printf \"%s,%s,%s,%s\",$1,$2,_auth,display;");
|
||||
|
||||
Reference in New Issue
Block a user