blob: 50c9a910e925141ef2d4f7511566592dab7c3515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- 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 @@
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 */
|