1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-30 12:24:14 +01:00

Fixed typo from #198

This commit is contained in:
Caleb Stewart 2021-09-19 07:29:59 -04:00
parent ca9ee4b539
commit bcbe8e2129

View File

@ -621,7 +621,7 @@ class Linux(Platform):
self.shell = "/bin/sh"
self.channel.sendline(b" export SHELL=/bin/sh")
if True or self._do_which("which") is None:
if self._do_which("which") is None:
self._do_which = self._do_custom_which
if os.path.basename(self.shell) in ["sh", "dash"]: