mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-27 23:55:54 -05:00
fix display response
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
08d5aef9c9
commit
ed56213d1b
@ -4876,7 +4876,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
|
|||||||
}
|
}
|
||||||
case 'display': {
|
case 'display': {
|
||||||
if (args['_'].length != 1) {
|
if (args['_'].length != 1) {
|
||||||
response = 'Proper usage: display (sleep | awake)".';
|
response = 'Proper usage: display (sleep | awake)';
|
||||||
} else {
|
} else {
|
||||||
var sleepawake = [args['_'][0]];
|
var sleepawake = [args['_'][0]];
|
||||||
if(sleepawake=='sleep'){
|
if(sleepawake=='sleep'){
|
||||||
|
Loading…
Reference in New Issue
Block a user