1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-19 17:53:28 +00:00

Updated user-sessions so isRoot() works on freebsd

This commit is contained in:
Bryan Roe
2019-06-21 16:13:19 -07:00
parent bf173d408c
commit 7892064e66
2 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@@ -838,7 +838,7 @@ function UserSessions()
} }
} }
if(process.platform == 'linux' || process.platform == 'darwin') if(process.platform != 'win32') // Linux, MacOS, FreeBSD
{ {
this.Self = function Self() this.Self = function Self()
{ {