mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
Shell: Include parent and base directories in expanded globs
This commit is contained in:
parent
cc157629b4
commit
e89ba794d0
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ Vector<DeprecatedString> Shell::expand_globs(Vector<StringView> path_segments, S
|
|||
if (is_glob_directory)
|
||||
first_segment = first_segment.substring_view(0, first_segment.length() - 1);
|
||||
|
||||
Core::DirIterator di(base, Core::DirIterator::SkipParentAndBaseDir);
|
||||
Core::DirIterator di(base);
|
||||
if (di.has_error())
|
||||
return {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue