mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Do not complain about fcntl(F_SETOWN) failing
On WSL1, fcntl(F_SETOWN) will fail and this would report an error. Suppress this error message since it is not very interesting. The effect is to disable real-time universal variable propagation.
This commit is contained in:
parent
067ec6ca97
commit
f9e426813c
1 changed files with 1 additions and 1 deletions
|
@ -1373,7 +1373,7 @@ class universal_notifier_sigio_t final : public universal_notifier_t {
|
|||
return autoclose_fd_t{};
|
||||
}
|
||||
if (fcntl(pipe.fd(), F_SETOWN, getpid()) == -1) {
|
||||
wperror(L"fcntl(F_SETOWN)");
|
||||
FLOG(uvar_file, "fcntl(F_SETOWN) failed, universal variable notifications disabled");
|
||||
return autoclose_fd_t{};
|
||||
}
|
||||
#ifdef F_SETSIG
|
||||
|
|
Loading…
Reference in a new issue