summaryrefslogtreecommitdiffstats
path: root/src/ogRest.py
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-05-13 17:30:12 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-05-13 17:30:12 +0200
commit269c7b505501ef24a4839b92afeb4fe15f3ced38 (patch)
treedafb022743726ae4e578ab97d6132d6f8ab005dd /src/ogRest.py
parent5f874030f59d1d384c525b64e46c22e75d2d0d61 (diff)
Rename operation 'execCMD' to 'shellrun'
This patch also ignores calls to shellrun when virtual mode is activated.
Diffstat (limited to 'src/ogRest.py')
-rw-r--r--src/ogRest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogRest.py b/src/ogRest.py
index 14b9d33..3f76053 100644
--- a/src/ogRest.py
+++ b/src/ogRest.py
@@ -79,7 +79,7 @@ class ogThread():
return
try:
- shellout = ogRest.operations.execCMD(request, ogRest)
+ shellout = ogRest.operations.shellrun(request, ogRest)
except ValueError as err:
response = restResponse(ogResponses.INTERNAL_ERR)
client.send(response.get())