diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uccs-server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uccs-server.c b/src/uccs-server.c index 0ec6f04..d8c61a9 100644 --- a/src/uccs-server.c +++ b/src/uccs-server.c @@ -20,6 +20,7 @@ #include "config.h" #endif +#include <glib.h> #include <glib/gi18n.h> #include <json-glib/json-glib.h> @@ -734,6 +735,8 @@ uccs_server_unlock (UccsServer * server, const gchar * address, const gchar * us argv[1] = server->username; argv[2] = NULL; + g_setenv("SERVER_ROOT", server->parent.uri, TRUE); + g_spawn_async_with_pipes(NULL, /* pwd */ (gchar **)argv, NULL, /* env */ |