Changeset 26976 for trunk/ippScripts/scripts/magic_destreak_revert.pl
- Timestamp:
- Feb 17, 2010, 1:13:07 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_destreak_revert.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_destreak_revert.pl
r26489 r26976 330 330 331 331 if ($backup_is_not_destreaked) { 332 if ($original_is_not_destreaked) { 333 # this is unexpected result. throw an error so this can be checked manually 334 print STDERR "both files appear to not be destreaked\n"; 335 print STDERR "original: $original\n"; 336 print STDERR "backup: $backup\n"; 337 return 0; 338 } 332 339 # XXX TODO if stage is raw, check that backup has the correct size and md5sum 333 340 341 if ($verbose) { 342 print "ready to swap $backup\n"; 343 print " to $original\n"; 344 } 334 345 # Do we need to make this test? After the swap we're going to delete the file anyways 335 print "ready to swap $backup to $original\n" if $verbose;336 346 337 347 if (! $nebulous->swap($backup, $original)) { 338 print "failed to swap $backup to $original\n"; 348 print "failed to swap $backup\n"; 349 print " to $original\n"; 339 350 return 0; 340 351 }
Note:
See TracChangeset
for help on using the changeset viewer.
