NSM/nsm-proxy: unset NSM_URL env var before launching child.
This commit is contained in:
parent
9501e52d54
commit
6ec8f6e85e
|
@ -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 ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue