mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-09-11 08:55:32 +03: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': {
|
||||
if (args['_'].length != 1) {
|
||||
response = 'Proper usage: display (sleep | awake)".';
|
||||
response = 'Proper usage: display (sleep | awake)';
|
||||
} else {
|
||||
var sleepawake = [args['_'][0]];
|
||||
if(sleepawake=='sleep'){
|
||||
|
Loading…
Reference in New Issue
Block a user