On Thu, 2014-05-29 at 22:05 +0300, Catalin Soare wrote: > dd was running like so: dd if=/dev/sdb of=/dev/sda. #!/bin/sh dd if=/dev/sdb of=/dev/sda echo "dd exit status: $?" >> dd.log exit Assumed the exit status isn't 0, there was an error.