Merge pull request #3348 from qiuzhiqian/main

rofiles-fuse: when fuse execution fails, rofiles-fuse still returns exit code 0
This commit is contained in:
Colin Walters 2024-12-17 14:22:10 -05:00 committed by GitHub
commit 08395e2479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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));
}