diff options
author | Alvaro Neira Ayuso <aneira@soleta.eu> | 2020-01-18 13:57:48 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <alvaroneay@gmail.com> | 2020-01-19 19:50:44 +0100 |
commit | 8e54420dfd58f2c2178888b1deff0f791d670db2 (patch) | |
tree | be57ee14f9a56a1bea535601dd75878647e71974 /src/linux | |
parent | 51ad896deea2d2297a55d89bcae69c1fe369c895 (diff) |
(Clean-Up) Rename cmd function/variables to use "run" syntax
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 119db4e..df78927 100644 --- a/src/linux/ogOperations.py +++ b/src/linux/ogOperations.py @@ -48,7 +48,7 @@ def reboot(): subprocess.call(['/sbin/reboot']) def execCMD(httpparser, ogRest): - cmd = httpparser.getCMD() + cmd = httpparser.getrun() cmds = cmd.split(" ") try: ogRest.proc = subprocess.Popen(cmds, stdout=subprocess.PIPE, shell=True) |