fix(cli): fix bug on initializing new database

This commit is contained in:
Masahiko AMANO 2022-12-28 18:39:01 +03:00
parent caa01e2fbc
commit 07ee9d3c7a

View File

@ -357,6 +357,7 @@ int main(int argc, char **argv) {
if (config == NULL) {
fprintf(stderr, ERROR("Failed to update config file. "
"Try again with 'sudo' or check your permissions\n"));
return 1;
}
fputs(abspath, config);
fclose(config);