mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-05-26 07:08:08 +00:00
Fix problem with ignoring --shell option in python2
This commit is contained in:
@@ -264,7 +264,7 @@ class Terminal(object):
|
||||
args = ['/bin/su']
|
||||
|
||||
args.append('-l')
|
||||
if sys.platform == 'linux' and tornado.options.options.shell:
|
||||
if sys.platform.startswith('linux') and tornado.options.options.shell:
|
||||
args.append('-s')
|
||||
args.append(tornado.options.options.shell)
|
||||
args.append(self.callee.name)
|
||||
|
||||
Reference in New Issue
Block a user