1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-31 07:33:38 +00:00

REmoved pseudo terminal check from freebsd for consoleUid()

This commit is contained in:
Bryan Roe
2020-06-03 21:22:35 -07:00
parent 82f7091156
commit 7264c43e67
2 changed files with 11 additions and 8 deletions

View File

@@ -561,7 +561,10 @@ function UserSessions()
child.stdin.write(" for(i=1;i<NF;++i) ");
child.stdin.write(" { ");
child.stdin.write(' split($i,tok," "); x=split(tok[2],itm,"pts"); ');
child.stdin.write(' if(x==1) ');
if (process.platform != 'freebsd')
{
child.stdin.write(' if(x==1) ');
}
child.stdin.write(' { ');
child.stdin.write(' print tok[1]; ');
child.stdin.write(' break; ');