Bugzilla – Attachment 496 Details for
Bug 754
sftp always writes message to stderr even in batch mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Silence connection messages in batchmode
hushsftp.diff (text/plain), 788 bytes, created by
Damien Miller
on 2003-11-08 22:16:02 AEDT
(
hide
)
Description:
Silence connection messages in batchmode
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2003-11-08 22:16:02 AEDT
Size:
788 bytes
patch
obsolete
>Index: sftp.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/sftp.c,v >retrieving revision 1.38 >diff -u -r1.38 sftp.c >--- sftp.c 8 Oct 2003 08:27:36 -0000 1.38 >+++ sftp.c 9 Nov 2003 05:22:11 -0000 >@@ -234,13 +234,15 @@ > sftp_server : "sftp")); > args.list[0] = ssh_program; > >- fprintf(stderr, "Connecting to %s...\n", host); >+ if (infile == stdin) >+ fprintf(stderr, "Connecting to %s...\n", host); > connect_to_server(ssh_program, args.list, &in, &out); > } else { > args.list = NULL; > addargs(&args, "sftp-server"); > >- fprintf(stderr, "Attaching to %s...\n", sftp_direct); >+ if (infile == stdin) >+ fprintf(stderr, "Attaching to %s...\n", sftp_direct); > connect_to_server(sftp_direct, args.list, &in, &out); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 754
: 496