Correct error message to match actual behavior

main
vlakoff 8 years ago
parent 4cc719cab3
commit 9532a0129c

@ -281,7 +281,7 @@ TAGSPUBKEY
$io = $this->getIO();
$io->writeError(sprintf("Rolling back to version <info>%s</info>.", $rollbackVersion));
if ($err = $this->setLocalPhar($localFilename, $oldFile)) {
$io->writeError('<error>The backup file was corrupted ('.$err->getMessage().') and has been removed.</error>');
$io->writeError('<error>The backup file was corrupted ('.$err->getMessage().').</error>');
return 1;
}

Loading…
Cancel
Save