binfmt.unregister(): drop unused args
This commit is contained in:
parent
306aaeb9a6
commit
96cb6fc3f1
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def register(arch):
|
|||
raise Exception(f'Failed to register qemu-user for {arch} with binfmt_misc, {binfmt}/{info["name"]} not found')
|
||||
|
||||
|
||||
def unregister(args, arch):
|
||||
def unregister(arch):
|
||||
binfmt_file = "/proc/sys/fs/binfmt_misc/qemu-" + arch
|
||||
if not os.path.exists(binfmt_file):
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue