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 != "/")