Skip to content

Commit

Permalink
Fix wait-for-device with kick=True re-using the same client (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachriggle authored Oct 10, 2016
1 parent aec3fa6 commit 8d11fb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pwnlib/adb/adb.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ def wait_for_device(kick=False):
if context.device:
serial = str(context.device)

with Client() as c:
c.wait_for_device(serial)

for device in devices():
Expand Down

0 comments on commit 8d11fb8

Please sign in to comment.