mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +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:
committed by
ZmnSCPxj, ZmnSCPxj jxPCSmnZ
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
|
/*~ Move into config dir: this eases path manipulation and also
|
||||||
* gives plugins a good place to store their stuff. */
|
* gives plugins a good place to store their stuff. */
|
||||||
if (chdir(ld->config_netdir) != 0) {
|
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);
|
ld->config_netdir);
|
||||||
/* We assume home dir exists, so only create two. */
|
/* We assume home dir exists, so only create two. */
|
||||||
if (mkdir(ld->config_basedir, 0700) != 0 && errno != EEXIST)
|
if (mkdir(ld->config_basedir, 0700) != 0 && errno != EEXIST)
|
||||||
|
|||||||
Reference in New Issue
Block a user