summaryrefslogtreecommitdiffstats
path: root/src/live
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-21 14:59:22 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-21 14:59:48 +0200
commit1c9a13cd968559f89ba6b114c978eeb8c9629bed (patch)
treea7a6bcbad989da1908b35c08351865871e0a41de /src/live
parent19cd1b9a783646522bcbe46a4e4f9580c0a1d512 (diff)
rest: add cmd field to POST /shell/run
echo command that has been run for storage in ogserver, until GET /shell/output is invoked.
Diffstat (limited to 'src/live')
-rw-r--r--src/live/ogOperations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index cadd0af..a3997b3 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -297,7 +297,7 @@ class OgLiveOperations:
self.refresh(ogRest)
- return (ogRest.proc.returncode, output.decode('utf-8'))
+ return (ogRest.proc.returncode, " ".join(cmds), output.decode('utf-8'))
def session(self, request, ogRest):
disk = request.getDisk()