From 845101a5fbf0316f3a2e01224b543548c48d578e Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 16 Apr 2025 00:19:11 -0500 Subject: [PATCH] fs_find_mount_point.cpp --- src/fs_find_mount_point.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 327e7e1b..e54b9aec 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -12,7 +12,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) rv = fs::lstat(path_,&initial_st); if(rv == -1) - return -1; + return {}; tmp_path = path_.parent_path(); while(tmp_path != "/")