Browse Source

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

tags/non-daw-v1.2.0
Jonathan Moore Liles 12 years ago
parent
commit
6ec8f6e85e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      session-manager/src/nsm-proxy.C

+ 3
- 1
session-manager/src/nsm-proxy.C View File

@@ -119,7 +119,9 @@ public:
setenv( "NSM_CLIENT_ID", nsm_client_id, 1 );
setenv( "NSM_SESSION_NAME", nsm_display_name, 1 );
unsetenv( "NSM_URL" );

if ( -1 == execvp( "/bin/sh", args ) )
{
WARNING( "Error starting process: %s", strerror( errno ) );


Loading…
Cancel
Save