minor bug fix

This commit is contained in:
Fufu Fang 2019-04-26 11:43:35 +01:00
parent edc3df733c
commit 9065dcffb5
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ parse_arg_list(int argc, char **argv, char ***fuse_argv, int *fuse_argc)
break;
case 11:
NETWORK_CONFIG.user_agent = strdup(optarg);
break;
default:
fprintf(stderr, "Error: Invalid option\n");
add_arg(fuse_argv, fuse_argc, "--help");