NSM/nsm-proxy: unset NSM_URL env var before launching child.
This commit is contained in:
parent
9501e52d54
commit
6ec8f6e85e
|
@ -119,7 +119,9 @@ 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 ) )
|
||||||
{
|
{
|
||||||
WARNING( "Error starting process: %s", strerror( errno ) );
|
WARNING( "Error starting process: %s", strerror( errno ) );
|
||||||
|
|
Loading…
Reference in New Issue