change the way chansrv is started

This commit is contained in:
jsorg71 2009-08-29 21:19:28 +00:00
parent 3fe4faa8d2
commit 185414584d
1 changed files with 1 additions and 1 deletions

View File

@ -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;