Bugzilla – Attachment 399 Details for
Bug 638
scp: wrong exit status
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check system return code.
A (text/plain), 483 bytes, created by
Markus Friedl
on 2003-09-16 05:46:31 AEST
(
hide
)
Description:
check system return code.
Filename:
MIME Type:
Creator:
Markus Friedl
Created:
2003-09-16 05:46:31 AEST
Size:
483 bytes
patch
obsolete
>Index: scp.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/scp.c,v >retrieving revision 1.108 >diff -u -r1.108 scp.c >--- scp.c 18 Jul 2003 01:54:25 -0000 1.108 >+++ scp.c 15 Sep 2003 19:48:14 -0000 >@@ -417,7 +417,8 @@ > } > 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) {
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 638
: 399