Mercurial > dropbear
comparison scp.c @ 1069:2fa71c3b2827 pam
merge pam branch up to date
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 16 Mar 2015 21:34:05 +0800 |
parents | 7c899f24a85b |
children | 2dee3eef5344 |
comparison
equal
deleted
inserted
replaced
1068:9a6395ddb1b6 | 1069:2fa71c3b2827 |
---|---|
435 verifydir(argv[argc - 1]); | 435 verifydir(argv[argc - 1]); |
436 tolocal(argc, argv); /* Dest is local host. */ | 436 tolocal(argc, argv); /* Dest is local host. */ |
437 } | 437 } |
438 /* | 438 /* |
439 * Finally check the exit status of the ssh process, if one was forked | 439 * Finally check the exit status of the ssh process, if one was forked |
440 * and no error has occured yet | 440 * and no error has occurred yet |
441 */ | 441 */ |
442 if (do_cmd_pid != -1 && errs == 0) { | 442 if (do_cmd_pid != -1 && errs == 0) { |
443 if (remin != -1) | 443 if (remin != -1) |
444 (void) close(remin); | 444 (void) close(remin); |
445 if (remout != -1) | 445 if (remout != -1) |