Set the program return value non-zero if we enounter
an error while skipping the body of an entry during "tar -t" processing. Thanks to: Spencer Minear PR: misc/112521
This commit is contained in:
parent
6e55db5445
commit
6a955a7506
@ -206,6 +206,7 @@ read_archive(struct bsdtar *bsdtar, char mode)
|
||||
fprintf(out, "\n");
|
||||
bsdtar_warnc(bsdtar, 0, "%s",
|
||||
archive_error_string(a));
|
||||
bsdtar->return_value = 1;
|
||||
break;
|
||||
}
|
||||
fprintf(out, "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user