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

Collapse All | Expand All

(-)scp.c (-3 / +2 lines)
Lines 298-306 Link Here
298
	argc -= optind;
298
	argc -= optind;
299
	argv += optind;
299
	argv += optind;
300
300
301
	if (!iamremote) /* Username not needed on remote end and might not be available when chrooted  */
301
	if ((pwd = getpwuid(userid = getuid())) == NULL)
302
		if ((pwd = getpwuid(userid = getuid())) == NULL)
302
		fatal("unknown user %u", (u_int) userid);
303
			fatal("unknown user %u", (u_int) userid);
304
303
305
	if (!isatty(STDERR_FILENO))
304
	if (!isatty(STDERR_FILENO))
306
		showprogress = 0;
305
		showprogress = 0;

Return to bug 1235