1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 00:03:45 +00:00

Fixed issue with freebsd

This commit is contained in:
Bryan Roe
2020-08-03 11:44:44 -07:00
parent f0fa377395
commit 465805bc96
2 changed files with 2 additions and 2 deletions

View File

@@ -420,7 +420,7 @@ function linux_messageBox()
if (this.timeout) { clearTimeout(this.timeout); }
if (Array.isArray(this.promise._options.layout))
{
if (code == 0)
if (code == 0 && ((process.platform == 'freebsd' && this.stdout.ostr.trim() == '') || process.platform != 'freebsd'))
{
this.promise._res(this.promise._options.layout[0]);
}