|
From: | Thomas Boehm |
Subject: | [Bug-ddrescue] exit codes |
Date: | Wed, 20 Apr 2011 11:51:22 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 ThunderBrowse/3.3.5 |
Hi all,I'm trying to find informations about the exit codes ddrescue returns. I couldn't find anything in the docs and after an extensive Google search. It appears that ddrescue always returns 0, no matter whether the user interrupts the process with Control+C or the CD/DVD gets ejected while in progress or ...
I wrote a little script to batch process a pile of CDs/DVDs and want to delete the logfile upon successful completion and keep it if there is a problem or ddrescue gets interrupted.
Or is there another way to delete the logfile upon successful completion? Thanks Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |