diff options
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,7 +71,7 @@ | |||
71 | */ | 71 | */ |
72 | 72 | ||
73 | #include "includes.h" | 73 | #include "includes.h" |
74 | RCSID("$OpenBSD: scp.c,v 1.129 2006/01/31 10:19:02 djm Exp $"); | 74 | RCSID("$OpenBSD: scp.c,v 1.130 2006/01/31 10:35:43 djm Exp $"); |
75 | 75 | ||
76 | #include "xmalloc.h" | 76 | #include "xmalloc.h" |
77 | #include "atomicio.h" | 77 | #include "atomicio.h" |
@@ -383,9 +383,9 @@ main(int argc, char **argv) | |||
383 | if ((targ = colon(argv[argc - 1]))) /* Dest is remote host. */ | 383 | if ((targ = colon(argv[argc - 1]))) /* Dest is remote host. */ |
384 | toremote(targ, argc, argv); | 384 | toremote(targ, argc, argv); |
385 | else { | 385 | else { |
386 | tolocal(argc, argv); /* Dest is local host. */ | ||
387 | if (targetshouldbedirectory) | 386 | if (targetshouldbedirectory) |
388 | verifydir(argv[argc - 1]); | 387 | verifydir(argv[argc - 1]); |
388 | tolocal(argc, argv); /* Dest is local host. */ | ||
389 | } | 389 | } |
390 | /* | 390 | /* |
391 | * Finally check the exit status of the ssh process, if one was forked | 391 | * Finally check the exit status of the ssh process, if one was forked |