View | Details | Raw Unified | Return to bug 1371 | Differences between
and this patch

Collapse All | Expand All

(-)openssh-4.7p1/ssh-agent.c (-2 / +2 lines)
Lines 1081-1087 main(int ac, char **av) Link Here
1081
			s_flag++;
1212
			s_flag++;
1082
			break;
1213
			break;
1083
		case 'd':
1214
		case 'd':
1084
			if (d_flag)
1215
			if (d_flag > 3)
1085
				usage();
1216
				usage();
1086
			d_flag++;
1217
			d_flag++;
1087
			break;
1218
			break;
Lines 1184-1190 main(int ac, char **av) Link Here
1184
	 * the socket data.  The child continues as the authentication agent.
1315
	 * the socket data.  The child continues as the authentication agent.
1185
	 */
1316
	 */
1186
	if (d_flag) {
1317
	if (d_flag) {
1187
		log_init(__progname, SYSLOG_LEVEL_DEBUG1, SYSLOG_FACILITY_AUTH, 1);
1318
		log_init(__progname, SYSLOG_LEVEL_DEBUG1+d_flag-1, SYSLOG_FACILITY_AUTH, 1);
1188
		format = c_flag ? "setenv %s %s;\n" : "%s=%s; export %s;\n";
1319
		format = c_flag ? "setenv %s %s;\n" : "%s=%s; export %s;\n";
1189
		printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name,
1320
		printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name,
1190
		    SSH_AUTHSOCKET_ENV_NAME);
1321
		    SSH_AUTHSOCKET_ENV_NAME);
(-)ssh.org/ssh-agent.1 (-1 / +3 lines)
Lines 99-105 Without this option the default maximum Link Here
99
Debug mode.
99
Debug mode.
100
When this option is specified
100
When this option is specified
101
.Nm
101
.Nm
102
will not fork.
102
will not fork. Multiple
103
.Fl d
104
options increase the verbosity.  The maximum is 3.
103
.El
105
.El
104
.Pp
106
.Pp
105
If a commandline is given, this is executed as a subprocess of the agent.
107
If a commandline is given, this is executed as a subprocess of the agent.

Return to bug 1371