Issue a warning if there's a non-zero exit value.
This commit is contained in:
parent
7fa9cd7871
commit
033583fc78
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= bsdtar
|
||||
VERSION= 2.0.23
|
||||
VERSION= 2.0.25
|
||||
SRCS= bsdtar.c getdate.y matching.c read.c tree.c util.c write.c
|
||||
WARNS?= 5
|
||||
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
|
||||
|
@ -657,6 +657,9 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
cleanup_exclusions(bsdtar);
|
||||
if (bsdtar->return_value != 0)
|
||||
bsdtar_warnc(bsdtar, 0,
|
||||
"Error exit delayed from previous errors.");
|
||||
return (bsdtar->return_value);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user