Replace path obj .remove call with .unlink
This commit is contained in:
parent
0de2a0742c
commit
4bca809145
2
jlmkr.py
2
jlmkr.py
|
@ -81,7 +81,7 @@ def passthrough_nvidia(gpu_passthrough_nvidia, systemd_nspawn_additional_args, j
|
|||
|
||||
if gpu_passthrough_nvidia != '1':
|
||||
# Cleanup the config file we made when passthrough was enabled
|
||||
ld_so_conf_path.remove(missing_ok=True)
|
||||
ld_so_conf_path.unlink(missing_ok=True)
|
||||
return
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue