Browse Source

wsshd: fixup: execute correct command in case 'run' provided

Probably typo, the content of parameter should be executed.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Alon Bar-Lev 5 years ago
parent
commit
7664b978e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/wsshd

+ 1 - 1
bin/wsshd

@@ -48,7 +48,7 @@ def connect(hostname, username):
         request.environ['wsgi.websocket'].close()
         return str()
     if 'run' in request.args:
-        bridge.execute(request.args)
+        bridge.execute(request.args.get('run'))
     else:
         bridge.shell()