Skip to content

Commit

Permalink
Don't look for QEMU if running natively.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachriggle committed Apr 12, 2016
1 parent 95d4b8e commit d4f10b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pwnlib/tubes/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,9 @@ def __init__(self, argv,
exception = None

try:
qemu = get_qemu_user()
prefixes.append(([qemu], qemu))
if not context.native:
qemu = get_qemu_user()
prefixes.append(([qemu], qemu))
except: pass

for prefix, executable in prefixes:
Expand Down

0 comments on commit d4f10b0

Please sign in to comment.