From 1c9a13cd968559f89ba6b114c978eeb8c9629bed Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 21 Jun 2024 14:59:22 +0200 Subject: rest: add cmd field to POST /shell/run echo command that has been run for storage in ogserver, until GET /shell/output is invoked. --- src/virtual/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/virtual') diff --git a/src/virtual/ogOperations.py b/src/virtual/ogOperations.py index 003ec3d..34ba9fd 100644 --- a/src/virtual/ogOperations.py +++ b/src/virtual/ogOperations.py @@ -240,7 +240,7 @@ class OgVirtualOperations: self.poweroff_host() def shellrun(self, request, ogRest): - return (0, "") + return (0, "", "") def session(self, request, ogRest): disk = request.getDisk() -- cgit v1.2.3-18-g5258