Skip to content
  • Ray Strode's avatar
    session-worker: set PWD for user session · f44dbef8
    Ray Strode authored and Ray Strode's avatar Ray Strode committed
    It's possible for the current working directory to be
    a symlink.  Some programs, and notably, the
    get_current_dir_name() libc api use the PWD environment
    variable to know the symlink being used (so they don't
    use the canonical name that the symlink points to)
    
    This commit makes sure we set PWD in that case, to
    allow those programs to show the right path.
    f44dbef8