summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-05-02 05:18:47 +0000
committerkientzle <kientzle@FreeBSD.org>2008-05-02 05:18:47 +0000
commit00470f26d3c8b5267b41aa4885dade4e53a3be3f (patch)
tree2a11ea41a37b4f7351a0b237d393ead752c98624 /usr.bin/tar
parent9d3427eb57591465f0f9a4691e01d37ad0deb934 (diff)
downloadFreeBSD-src-00470f26d3c8b5267b41aa4885dade4e53a3be3f.zip
FreeBSD-src-00470f26d3c8b5267b41aa4885dade4e53a3be3f.tar.gz
bsdtar --version should succeed.
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/bsdtar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index 0c21d7c..88b963b 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -788,7 +788,7 @@ version(void)
printf("bsdtar %s - %s\n",
BSDTAR_VERSION_STRING,
archive_version());
- exit(1);
+ exit(0);
}
static const char *long_help_msg =
OpenPOWER on IntegriCloud