From 7493508dc88dc91f2d9f431c20ea63cd42f2e342 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Tue, 13 Oct 2020 07:46:59 -0500 Subject: [PATCH] proton: Also catch IOErrors from fcntl --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index 1e38a9e9..ba6cb966 100755 --- a/proton +++ b/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)