Skip to content

Commit

Permalink
Fix #681 (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinmo authored and disconnect3d committed Dec 9, 2019
1 parent ef7a984 commit 5f40345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwndbg/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_file(path, recurse=1):
local_path = path

if pwndbg.qemu.root() and recurse:
return get(os.path.join(pwndbg.qemu.binfmt_root, path), 0)
return os.path.join(pwndbg.qemu.binfmt_root, path)
elif pwndbg.remote.is_remote() and not pwndbg.qemu.is_qemu():
local_path = tempfile.mktemp()
error = None
Expand Down

0 comments on commit 5f40345

Please sign in to comment.