mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
meshctrl deviceinfo error on unescaped nodeid
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
7e7361de9b
commit
7cf14a2b69
1 changed files with 1 additions and 1 deletions
|
@ -2755,7 +2755,7 @@ function displayDeviceInfo(sysinfo, lastconnect, network, nodes) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (node == null) {
|
||||
if ((sysinfo == null && lastconnect == null && network == null) || (node == null)) {
|
||||
console.log("Invalid device id");
|
||||
process.exit(); return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue