mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
Silence ENODEV errors for fstatat
Some broken gdrive filesystem can return these.
Fixes #9550
(cherry picked from commit e90f003d2d
)
This commit is contained in:
parent
338451c25c
commit
1a20184ba4
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ void dir_iter_t::entry_t::do_stat() const {
|
|||
case ENOENT:
|
||||
case ENOTDIR:
|
||||
case ENAMETOOLONG:
|
||||
case ENODEV:
|
||||
// These are "expected" errors.
|
||||
this->type_ = none();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue