Fix up EPRM patch -- 3rd try lucky
This commit is contained in:
parent
bdde047c9f
commit
bcd5f09e86
@ -37,7 +37,7 @@ index 67be6a6af..aaefd5b0d 100644
|
||||
+ */
|
||||
ret = close_range (lowfd, G_MAXUINT, 0);
|
||||
- if (ret == 0 || errno != ENOSYS)
|
||||
+ if (ret == 0 || errno != ENOSYS || errno == EPERM)
|
||||
+ if (ret == 0 || !(errno == ENOSYS || errno == EPERM))
|
||||
return ret;
|
||||
#endif /* HAVE_CLOSE_RANGE */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user