mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
Silence ENODEV errors for fstatat
Some broken gdrive filesystem can return these. Fixes #9550
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user