fix(cli): if both -s and -u options are set then unset both of them
This commit is contained in:
parent
02aeadf0f7
commit
094d76cb8c
@ -329,6 +329,10 @@ int cli(int argc, char **argv) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (opt_s && opt_u) {
|
||||||
|
opt_s = 0;
|
||||||
|
opt_u = 0;
|
||||||
|
}
|
||||||
FILE *config = fopen("./tfm-config", "r");
|
FILE *config = fopen("./tfm-config", "r");
|
||||||
if (config == NULL) {
|
if (config == NULL) {
|
||||||
fprintf(stderr, ERROR("Config file not found\n"));
|
fprintf(stderr, ERROR("Config file not found\n"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user