From 185414584ddc7610b99ad2ac170fec66f39ac01f Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sat, 29 Aug 2009 21:19:28 +0000 Subject: [PATCH] change the way chansrv is started --- sesman/sessvc/sessvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;