[scp.c]
     error handling for remote-remote copy; #638; report Harald Koenig;
     ok millert, fgs, henning, deraadt
This commit is contained in:
Darren Tucker 2003-09-22 21:14:55 +10:00
parent aaa56cb804
commit 8654d16f0f
2 changed files with 8 additions and 3 deletions

View File

@ -64,6 +64,10 @@
- markus@cvs.openbsd.org 2003/09/19 11:33:09
[packet.c sshd.c]
do not call packet_close on fatal; ok deraadt
- markus@cvs.openbsd.org 2003/09/19 17:40:20
[scp.c]
error handling for remote-remote copy; #638; report Harald Koenig;
ok millert, fgs, henning, deraadt
20030919
- (djm) Bug #683: Remove reference to --with-ipv4-default from INSTALL;
@ -1200,4 +1204,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.3034 2003/09/22 11:13:59 dtucker Exp $
$Id: ChangeLog,v 1.3035 2003/09/22 11:14:55 dtucker Exp $

5
scp.c
View File

@ -71,7 +71,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: scp.c,v 1.108 2003/07/18 01:54:25 deraadt Exp $");
RCSID("$OpenBSD: scp.c,v 1.109 2003/09/19 17:40:20 markus Exp $");
#include "xmalloc.h"
#include "atomicio.h"
@ -426,7 +426,8 @@ toremote(char *targ, int argc, char **argv)
}
if (verbose_mode)
fprintf(stderr, "Executing: %s\n", bp);
(void) system(bp);
if (system(bp) != 0)
errs = 1;
(void) xfree(bp);
} else { /* local to remote */
if (remin == -1) {