mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-25 12:29:12 -05:00
meshctrl deviceinfo error on unescaped nodeid
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
7e7361de9b
commit
7cf14a2b69
@ -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…
x
Reference in New Issue
Block a user