append a / to ensure the full path is created even when the config variable lacks a trailing /
This commit is contained in:
parent
aaa40edefb
commit
324a334315
@ -113,7 +113,7 @@ g_mk_socket_path(const char *app_name)
|
|||||||
{
|
{
|
||||||
if (!g_directory_exist(XRDP_SOCKET_PATH))
|
if (!g_directory_exist(XRDP_SOCKET_PATH))
|
||||||
{
|
{
|
||||||
if (!g_create_path(XRDP_SOCKET_PATH))
|
if (!g_create_path(XRDP_SOCKET_PATH"/"))
|
||||||
{
|
{
|
||||||
/* if failed, still check if it got created by someone else */
|
/* if failed, still check if it got created by someone else */
|
||||||
if (!g_directory_exist(XRDP_SOCKET_PATH))
|
if (!g_directory_exist(XRDP_SOCKET_PATH))
|
||||||
|
Loading…
Reference in New Issue
Block a user