summaryrefslogtreecommitdiffstats
path: root/sesman/sessvc/sessvc.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-08-29 21:19:28 +0000
committerjsorg71 <jsorg71>2009-08-29 21:19:28 +0000
commit185414584ddc7610b99ad2ac170fec66f39ac01f (patch)
tree7d790091be1217a8208b4d4917a75badceddd2d4 /sesman/sessvc/sessvc.c
parent3fe4faa8d2a538dfde7ef44205a03fb1258f0b8d (diff)
downloadxrdp-proprietary-185414584ddc7610b99ad2ac170fec66f39ac01f.tar.gz
xrdp-proprietary-185414584ddc7610b99ad2ac170fec66f39ac01f.zip
change the way chansrv is started
Diffstat (limited to 'sesman/sessvc/sessvc.c')
-rw-r--r--sesman/sessvc/sessvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/sessvc/sessvc.c b/sesman/sessvc/sessvc.c
index 651bccc2..b5cbe4f0 100644
--- a/sesman/sessvc/sessvc.c
+++ b/sesman/sessvc/sessvc.c
@@ -84,7 +84,7 @@ main(int argc, char** argv)
{
g_set_current_dir(XRDP_SBIN_PATH);
g_snprintf(exe_path, 261, "%s/xrdp-chansrv", XRDP_SBIN_PATH);
- g_execvp(exe_path, 0);
+ g_execlp3(exe_path, "xrdp-chansrv", 0);
/* should not get here */
g_writeln("xrdp-sessvc: g_execvp failed");
return 1;