Skip to content

Commit

Permalink
added more debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
fangfufu committed May 3, 2024
1 parent dfc83d0 commit d4c7d8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fuse_local.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ static int fs_open(const char *path, struct fuse_file_info *fi)
if (!link) {
return -ENOENT;
}
lprintf(debug, "%s found.\n", path);
if ((fi->flags & O_RDWR) != O_RDONLY) {
return -EROFS;
}
Expand Down

0 comments on commit d4c7d8c

Please sign in to comment.