mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
Silence fstatat errors
These just keep happening, people run haunted computers.
Fixes #9674.
(cherry picked from commit cd7e8c00e1
)
This commit is contained in:
parent
a1f79b3acc
commit
693595a6c0
1 changed files with 6 additions and 1 deletions
|
@ -167,7 +167,12 @@ void dir_iter_t::entry_t::do_stat() const {
|
|||
break;
|
||||
|
||||
default:
|
||||
wperror(L"fstatat");
|
||||
this->type_ = none();
|
||||
// This used to print an error, but given that we have seen
|
||||
// both ENODEV (above) and ENOTCONN,
|
||||
// and that the error isn't actionable and shows up while typing,
|
||||
// let's not do that.
|
||||
// wperror(L"fstatat");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue