Use the words "cannot read" rather than "cannot open"
as the code actually tests readability.
This commit is contained in:
parent
4f7969b562
commit
a1b0344db5
@ -272,7 +272,7 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info)
|
||||
|
||||
if (!g_file_readable(client_info->certificate))
|
||||
{
|
||||
log_message(LOG_LEVEL_ERROR, "Cannot open certificate file %s: %s",
|
||||
log_message(LOG_LEVEL_ERROR, "Cannot read certificate file %s: %s",
|
||||
client_info->certificate, g_get_strerror());
|
||||
}
|
||||
}
|
||||
@ -302,7 +302,7 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info)
|
||||
|
||||
if (!g_file_readable(client_info->key_file))
|
||||
{
|
||||
log_message(LOG_LEVEL_ERROR, "Cannot open private key file %s: %s",
|
||||
log_message(LOG_LEVEL_ERROR, "Cannot read private key file %s: %s",
|
||||
client_info->key_file, g_get_strerror());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user