Skip to content

Commit

Permalink
Merge pull request #3348 from qiuzhiqian/main
Browse files Browse the repository at this point in the history
rofiles-fuse: when fuse execution fails, rofiles-fuse still returns exit code 0
  • Loading branch information
cgwalters authored Dec 17, 2024
2 parents 3f7eb36 + 8346244 commit 08395e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/rofiles-fuse/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,6 @@ main (int argc, char *argv[])
exit (EXIT_FAILURE);
}

fuse_main (args.argc, args.argv, &callback_oper, NULL);

return 0;
// Refer to https://man.openbsd.org/fuse_main.3
return (fuse_main (args.argc, args.argv, &callback_oper, NULL));
}

0 comments on commit 08395e2

Please sign in to comment.