Skip to content

Commit

Permalink
Merge branch 'master' of github.com:liftoff/GateOne
Browse files Browse the repository at this point in the history
  • Loading branch information
liftoff committed Nov 12, 2015
2 parents 79484b2 + ea31e7b commit b14de79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gateone/applications/terminal/app_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def get(self, share_id):
if os.path.exists(minified_js_abspath):
gateone_js = "%sstatic/gateone.min.js" % self.settings['url_prefix']
index_path = resource_filename(
'gateone.applications.terminal', '/templates/index.html')
'gateone.applications.terminal', '/templates/share.html')
self.render(
index_path,
share_id=share_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def openssh_connect(
args = ['-c', script_path, '&&', 'rm', '-f', script_path]
# if we detect /bin/sh linked to busybox then make sure we insert the 'sh'
# at the beginning of the args list
if os.path.realpath('/bin/sh').endswith('busybox'):
if os.path.islink('/bin/sh'):
args.insert(0, 'sh')
os.execvpe('/bin/sh', args, env)
os._exit(0)
Expand Down

0 comments on commit b14de79

Please sign in to comment.