diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 | 
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 | 
| commit | 857c68f733eea07f11a061caea43a38fed61adb7 (patch) | |
| tree | 4567a9e91f717b22143ac1ccb0fb5323ac15afd3 /usr/gen_init_cpio.c | |
| parent | 4741c336d27dec3ea68a35659abb8dc82b142388 (diff) | |
| parent | 402a26f0c040077ed6f941eefac5a6971f0d5f40 (diff) | |
Merge branch 'master'
Diffstat (limited to 'usr/gen_init_cpio.c')
| -rw-r--r-- | usr/gen_init_cpio.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/usr/gen_init_cpio.c b/usr/gen_init_cpio.c index 33dbcbf77c5b..83acd6cc0b3c 100644 --- a/usr/gen_init_cpio.c +++ b/usr/gen_init_cpio.c | |||
| @@ -471,6 +471,7 @@ int main (int argc, char *argv[]) | |||
| 471 | "ERROR: incorrect format, could not locate file type line %d: '%s'\n", | 471 | "ERROR: incorrect format, could not locate file type line %d: '%s'\n", | 
| 472 | line_nr, line); | 472 | line_nr, line); | 
| 473 | ec = -1; | 473 | ec = -1; | 
| 474 | break; | ||
| 474 | } | 475 | } | 
| 475 | 476 | ||
| 476 | if ('\n' == *type) { | 477 | if ('\n' == *type) { | 
| @@ -506,7 +507,8 @@ int main (int argc, char *argv[]) | |||
| 506 | line_nr, line); | 507 | line_nr, line); | 
| 507 | } | 508 | } | 
| 508 | } | 509 | } | 
| 509 | cpio_trailer(); | 510 | if (ec == 0) | 
| 511 | cpio_trailer(); | ||
| 510 | 512 | ||
| 511 | exit(ec); | 513 | exit(ec); | 
| 512 | } | 514 | } | 
