mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	fix display response
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
		
							parent
							
								
									08d5aef9c9
								
							
						
					
					
						commit
						ed56213d1b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue