$ dvd+rw-format -blank /dev/hdc
* BD/DVD±RW/-RAM format utility by <firstname.lastname@example.org>, version 7.0.
* 4.7GB DVD-RW media in Sequential mode detected.
* blanking .:-[ READ TRACK INFORMATION failed with SK=3h/ASC=57h/ACQ=00h]:
$ echo $?
Since it failed, it should have exited with non-zero status.
Created attachment 156413 [details]
patch to exit with non-zero status when child process fails