logs: Use correct path and more appropriate macros in cookie-related code

filepath_tmp -> filepath in last message.

More material changes to nearby code in next commit.
This commit is contained in:
Hodlinator
2024-12-02 10:38:07 +01:00
parent 6e28c76907
commit e82ad88452
2 changed files with 4 additions and 4 deletions

View File

@@ -301,7 +301,7 @@ static bool InitRPCAuthentication()
if (cookie_perms_arg) {
auto perm_opt = InterpretPermString(*cookie_perms_arg);
if (!perm_opt) {
LogInfo("Invalid -rpccookieperms=%s; must be one of 'owner', 'group', or 'all'.\n", *cookie_perms_arg);
LogError("Invalid -rpccookieperms=%s; must be one of 'owner', 'group', or 'all'.", *cookie_perms_arg);
return false;
}
cookie_perms = *perm_opt;