]> andersk Git - gssapi-openssh.git/commitdiff
let $LD_LIBRARY_PATH propagate to child processes since it's typical OPENSSH_3_6_1P2_GSSAPI_20030721
authorjbasney <jbasney>
Wed, 9 Jul 2003 19:52:53 +0000 (19:52 +0000)
committerjbasney <jbasney>
Wed, 9 Jul 2003 19:52:53 +0000 (19:52 +0000)
to install GSI libraries in $LD_LIBRARY_PATH rather than in a standard
system path

openssh/session.c

index c85821d315778bcfb2ab55b23a1ff2fc0c556874..e460dbc5c1c2607cc4bc6b5b555cb9b1f0fd294b 100644 (file)
@@ -1167,6 +1167,9 @@ do_setup_env(Session *s, const char *shell)
 #  else 
                child_set_env(&env, &envsize, "PATH", _PATH_STDPATH);
 #  endif /* SUPERUSER_PATH */
+               if (getenv("LD_LIBRARY_PATH"))
+                       child_set_env(&env, &envsize, "LD_LIBRARY_PATH",
+                                     getenv("LD_LIBRARY_PATH"));
 # endif /* HAVE_CYGWIN */
 #endif /* HAVE_LOGIN_CAP */
 
This page took 0.075969 seconds and 5 git commands to generate.