mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
proton: Also catch IOErrors from fcntl
This commit is contained in:
parent
0cf7f02112
commit
7493508dc8
1 changed files with 1 additions and 1 deletions
2
proton
2
proton
|
|
@ -116,7 +116,7 @@ def set_dir_casefold_bit(dir_path):
|
|||
if fcntl.ioctl(dr, EXT2_IOC_GETFLAGS, dat, True) >= 0:
|
||||
dat[0] = dat[0] | EXT4_CASEFOLD_FL
|
||||
fcntl.ioctl(dr, EXT2_IOC_SETFLAGS, dat, False)
|
||||
except OSError:
|
||||
except (OSError, IOError):
|
||||
#no problem
|
||||
pass
|
||||
os.close(dr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue