Index: trunk/ippScripts/scripts/magic_destreak_revert.pl
===================================================================
--- trunk/ippScripts/scripts/magic_destreak_revert.pl	(revision 26939)
+++ trunk/ippScripts/scripts/magic_destreak_revert.pl	(revision 26976)
@@ -330,11 +330,22 @@
 
     if ($backup_is_not_destreaked) {
+        if ($original_is_not_destreaked) {
+            # this is unexpected result. throw an error so this can be checked manually
+            print STDERR "both files appear to not be destreaked\n";
+            print STDERR "original: $original\n";
+            print STDERR "backup:   $backup\n";
+            return 0;
+        }
         # XXX TODO if stage is raw, check that backup has the correct size and md5sum
 
+        if ($verbose) {
+            print "ready to swap $backup\n";
+            print "           to $original\n";
+        }
         # Do we need to make this test? After the swap we're going to delete the file anyways
-        print "ready to swap $backup to $original\n" if $verbose;
 
         if (! $nebulous->swap($backup, $original)) {
-            print "failed to swap $backup to $original\n";
+            print "failed to swap $backup\n";
+            print "            to $original\n";
             return 0;
         }
