mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
Move log level from warning to info when creating a new ln directory
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
parent
3e902e2816
commit
09459a97c7
@ -1211,7 +1211,7 @@ void handle_early_opts(struct lightningd *ld, int argc, char *argv[])
|
||||
/*~ Move into config dir: this eases path manipulation and also
|
||||
* gives plugins a good place to store their stuff. */
|
||||
if (chdir(ld->config_netdir) != 0) {
|
||||
log_unusual(ld->log, "Creating configuration directory %s",
|
||||
log_info(ld->log, "Creating configuration directory %s",
|
||||
ld->config_netdir);
|
||||
/* We assume home dir exists, so only create two. */
|
||||
if (mkdir(ld->config_basedir, 0700) != 0 && errno != EEXIST)
|
||||
|
Loading…
Reference in New Issue
Block a user