Bug 243036 - dvd+rw-format exits with status 0 on failure
dvd+rw-format exits with status 0 on failure
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: dvd+rw-tools (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Harald Hoyer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-06 19:55 EDT by Jonathan Kamens
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-21 07:08:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to exit with non-zero status when child process fails (309 bytes, patch)
2007-06-06 20:25 EDT, Jonathan Kamens
no flags Details | Diff

  None (edit)
Description Jonathan Kamens 2007-06-06 19:55:15 EDT
Using dvd+rw-tools-7.0-3.fc7.

$ dvd+rw-format -blank /dev/hdc
* BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.0.
* 4.7GB DVD-RW media in Sequential mode detected.
* blanking .:-[ READ TRACK INFORMATION failed with SK=3h/ASC=57h/ACQ=00h]:
Input/output error
$ echo $?
0
$ 

Since it failed, it should have exited with non-zero status.
Comment 1 Jonathan Kamens 2007-06-06 20:25:26 EDT
Created attachment 156413 [details]
patch to exit with non-zero status when child process fails

Fix attached.

Note You need to log in before you can comment on or make changes to this bug.