Date: Wed, 11 Mar 1998 11:57:20 -0800 (PST) From: Jonathan Hanna <jh@pc-21490.bc.rogers.wave.ca> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: gnu/5982: no error exit code from tar on child failure Message-ID: <199803111957.LAA04772@pc-21490.bc.rogers.wave.ca>
next in thread | raw e-mail | index | archive | help
>Number: 5982 >Category: gnu >Synopsis: no error exit code from tar on child failure >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 11 12:00:07 PST 1998 >Last-Modified: >Originator: Jonathan Hanna >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: tar reports the failure of gzip, but does not reflect that in its own exit status. >How-To-Repeat: # echo j > k # tar -tvf k tar: only read 2 bytes from archive k # echo $status 3 # tar -tzvf k gzip: stdin: not in gzip format tar: child returned status 1 # echo $status 0 >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803111957.LAA04772>