Fix pwnagotchi crash when updating hostname #1121
-Incorporated changes from llamasoft/pwnagotchi on Github
This commit is contained in:
1 parent
40cdfa3fdd
commit
d2b22b2ff3
1 file changed
+1
-1
@@ -41,7 +41,7 @@ def set_name(new_name):
|
|||||||
fp.write(patched)
|
fp.write(patched)
|
||||||
|
|
||||||
os.system("hostname '%s'" % new_name)
|
os.system("hostname '%s'" % new_name)
|
||||||
pwnagotchi.reboot()
|
reboot()
|
||||||
|
|
||||||
|
|
||||||
def name():
|
def name():
|
||||||
|
|||||||
Reference in new issue
Block a user