diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-05-13 17:30:12 +0200 |
---|---|---|
committer | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-05-13 17:30:12 +0200 |
commit | 269c7b505501ef24a4839b92afeb4fe15f3ced38 (patch) | |
tree | dafb022743726ae4e578ab97d6132d6f8ab005dd /src/linux | |
parent | 5f874030f59d1d384c525b64e46c22e75d2d0d61 (diff) |
Rename operation 'execCMD' to 'shellrun'
This patch also ignores calls to shellrun when virtual mode is activated.
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/ogOperations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py index ab58cd7..e194468 100644 --- a/src/linux/ogOperations.py +++ b/src/linux/ogOperations.py @@ -68,7 +68,7 @@ class OgLinuxOperations: else: subprocess.call(['/sbin/reboot']) - def execCMD(self, request, ogRest): + def shellrun(self, request, ogRest) cmd = request.getrun() cmds = cmd.split(";|\n\r") |