diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-21 14:02:54 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-21 14:47:30 +0200 |
commit | 19cd1b9a783646522bcbe46a4e4f9580c0a1d512 (patch) | |
tree | 2e82eee63ef6d8e973caeed064999370e89be465 /src/live | |
parent | 399a5dceb8730314f651973a0e2ac13a7fab3efa (diff) |
rest: add retcode field to POST /shell/run
provide return code as result to ogserver.
Update virtual mode driver to return dummy value, although this command
is unimplemented, this seems to be broken due to possible TypeError when
accessing result from caller.
Diffstat (limited to 'src/live')
-rw-r--r-- | src/live/ogOperations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 733beae..cadd0af 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -297,7 +297,7 @@ class OgLiveOperations: self.refresh(ogRest) - return output.decode('utf-8') + return (ogRest.proc.returncode, output.decode('utf-8')) def session(self, request, ogRest): disk = request.getDisk() |