fix(cli): fix bug on initializing new database
This commit is contained in:
parent
caa01e2fbc
commit
07ee9d3c7a
@ -357,6 +357,7 @@ int main(int argc, char **argv) {
|
|||||||
if (config == NULL) {
|
if (config == NULL) {
|
||||||
fprintf(stderr, ERROR("Failed to update config file. "
|
fprintf(stderr, ERROR("Failed to update config file. "
|
||||||
"Try again with 'sudo' or check your permissions\n"));
|
"Try again with 'sudo' or check your permissions\n"));
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
fputs(abspath, config);
|
fputs(abspath, config);
|
||||||
fclose(config);
|
fclose(config);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user