1 parent da81681 commit 5dd032aCopy full SHA for 5dd032a
1 file changed
src/main.c
@@ -32,6 +32,7 @@ int main(int argc, char **argv)
32
*/
33
char **fuse_argv = NULL;
34
int fuse_argc = 0;
35
+ int res = 0;
36
/*
37
* These are the combined argument with the config file
38
@@ -118,7 +119,7 @@ activate Sonic mode.\n");
118
119
}
120
121
fuse_start:
- fuse_local_init(fuse_argc, fuse_argv);
122
+ res = fuse_local_init(fuse_argc, fuse_argv);
123
124
for (int i = 0; i < all_argc; i++) {
125
FREE(all_argv[i]);
@@ -132,7 +133,7 @@ activate Sonic mode.\n");
132
133
134
FREE(config_path);
135
- return 0;
136
+ return res;
137
138
139
static char *get_XDG_CONFIG_HOME(void)
0 commit comments