Bug 243036

Summary: dvd+rw-format exits with status 0 on failure
Product: [Fedora] Fedora Reporter: Jonathan Kamens <h1k6zn2m>
Component: dvd+rw-toolsAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-21 11:08:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to exit with non-zero status when child process fails none

Description Jonathan Kamens 2007-06-06 23:55:15 UTC
Using dvd+rw-tools-7.0-3.fc7.

$ dvd+rw-format -blank /dev/hdc
* BD/DVD±RW/-RAM format utility by <appro.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-07 00:25:26 UTC
Created attachment 156413 [details]
patch to exit with non-zero status when child process fails

Fix attached.