This commit is contained in:
Christian Blichmann 2020-03-22 16:47:41 +01:00
commit 45d825b3b7

View File

@ -179,7 +179,7 @@ absl::Status Mounts::Insert(absl::string_view path,
std::string fixed_path = file::CleanPath(path);
if (!absl::StartsWith(fixed_path, "/")) {
if (!file::IsAbsolutePath(fixed_path)) {
return absl::InvalidArgumentError("Only absolute paths are supported");
}