View | Details | Raw Unified | Return to bug 365
Collapse All | Expand All

(-)session.c.orig (-1 / +1 lines)
Lines 1053-1059 do_setup_env(Session *s, const char *she Link Here
1053
	/* read $HOME/.ssh/environment. */
1053
	/* read $HOME/.ssh/environment. */
1054
	if (!options.use_login) {
1054
	if (!options.use_login) {
1055
		snprintf(buf, sizeof buf, "%.200s/.ssh/environment",
1055
		snprintf(buf, sizeof buf, "%.200s/.ssh/environment",
1056
		    pw->pw_dir);
1056
		    strcmp(pw->pw_dir, "/") ? pw->pw_dir : "");
1057
		read_environment_file(&env, &envsize, buf);
1057
		read_environment_file(&env, &envsize, buf);
1058
	}
1058
	}
1059
	if (debug_flag) {
1059
	if (debug_flag) {

Return to bug 365