Skip to content
Snippets Groups Projects
Commit 54793de6 authored by Anael Beutot's avatar Anael Beutot
Browse files

Fix remote shell NameError on exception

parent 1baa8d96
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ class RemoteShell(object):
except OSError:
logger.exception('Error while executing remote shell')
# close opened fds
self.close_cb()
self.close()
raise
self.child_watcher = conn.loop.child(self.process.pid, False,
self.child_cb)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment