[Kernel] Allow wildcard filter to end in *.
This commit is contained in:
parent
32e8b47a33
commit
e848a20c23
|
@ -92,10 +92,6 @@ static bool IsValidPath(const std::string_view s, bool is_pattern) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (got_asterisk) {
|
|
||||||
// * must be followed by a . (*.)
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue