mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 15:37:59 +08: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
|
@ -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 New Issue
Block a user