mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-18 01:03:14 +00:00
Fixed issue with freebsd
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -420,7 +420,7 @@ function linux_messageBox()
|
|||||||
if (this.timeout) { clearTimeout(this.timeout); }
|
if (this.timeout) { clearTimeout(this.timeout); }
|
||||||
if (Array.isArray(this.promise._options.layout))
|
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]);
|
this.promise._res(this.promise._options.layout[0]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user