mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
Silence fstatat errors
These just keep happening, people run haunted computers. Fixes #9674.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user