Commit d6b67812 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent c16b62c5
...@@ -1325,11 +1325,14 @@ if ($delta && $deltapct > 0 && defined($logfile)) { ...@@ -1325,11 +1325,14 @@ if ($delta && $deltapct > 0 && defined($logfile)) {
# #
if (system("/bin/mv -f $filename " . if (system("/bin/mv -f $filename " .
($delta ? ($delta ?
$image->DeltaImageFile() : $image->FullImageFile())) || $image->DeltaImageFile() : $image->FullImageFile()))) {
fatal("Could not move new image file into place");
}
if ($dstsigfile &&
system("/bin/mv -f $dstsigfile " . system("/bin/mv -f $dstsigfile " .
($delta ? ($delta ?
$image->FullImageSigFile() : $image->FullImageSigFile()))) { $image->FullImageSigFile() : $image->FullImageSigFile()))) {
fatal("Could not move new files into place"); fatal("Could not move new signature file into place");
} }
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment