mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-23 02:57:39 -05:00
meshctrl deviceinfo error on unescaped nodeid
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user