Fix echo check for process_shellrun in ogRest

more_events
Roberto Hueso Gómez 2020-01-16 11:58:05 +01:00 committed by Alvaro Neira Ayuso
parent df98db2c3c
commit b9c33f2c83
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class ogRest():
client.send(restResponse.getResponse(ogResponses.BAD_REQUEST))
return
if httpparser.getEcho() == "true":
if httpparser.getEcho():
jsonResp = jsonResponse()
jsonResp.addElement('out', shellout)
client.send(restResponse.getResponse(ogResponses.OK, jsonResp))