Skip to content

Commit

Permalink
Fix pwnagotchi crash when updating hostname evilsocket#1121
Browse files Browse the repository at this point in the history
-Incorporated changes from llamasoft/pwnagotchi on Github
  • Loading branch information
scifijunk committed Dec 31, 2022
1 parent 40cdfa3 commit d2b22b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnagotchi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def set_name(new_name):
fp.write(patched)

os.system("hostname '%s'" % new_name)
pwnagotchi.reboot()
reboot()


def name():
Expand Down

0 comments on commit d2b22b2

Please sign in to comment.