Skip to content
  • Harald Sitter's avatar
    don't lose environment variables · c7c3ef32
    Harald Sitter authored and Kurt Hindenburg's avatar Kurt Hindenburg committed
    the resetting was nonesense, Pty appends _environment on top of the
    existing environment, so concat the two for potential sandboxing (the
    ksandbox class will only apply the diff to system environment anyway).
    once the sandboxing was applied reset the actual process environment to
    the original variable rather than emptying it, this prevents us from
    losing variables when outside a sandbox
    
    BUG: 458591
    (cherry picked from commit 252eab85)
    c7c3ef32