NSM/nsm-proxy: unset NSM_URL env var before launching child.

This commit is contained in:
Jonathan Moore Liles 2013-04-11 18:01:29 -07:00
parent 9501e52d54
commit 6ec8f6e85e
1 changed files with 3 additions and 1 deletions

View File

@ -119,6 +119,8 @@ public:
setenv( "NSM_CLIENT_ID", nsm_client_id, 1 ); setenv( "NSM_CLIENT_ID", nsm_client_id, 1 );
setenv( "NSM_SESSION_NAME", nsm_display_name, 1 ); setenv( "NSM_SESSION_NAME", nsm_display_name, 1 );
unsetenv( "NSM_URL" );
if ( -1 == execvp( "/bin/sh", args ) ) if ( -1 == execvp( "/bin/sh", args ) )
{ {