1
0
Fork 0

Correct error message to match actual behavior

pull/5021/head
vlakoff 2016-03-08 13:09:25 +01:00
parent 4cc719cab3
commit 9532a0129c
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ TAGSPUBKEY
$io = $this->getIO(); $io = $this->getIO();
$io->writeError(sprintf("Rolling back to version <info>%s</info>.", $rollbackVersion)); $io->writeError(sprintf("Rolling back to version <info>%s</info>.", $rollbackVersion));
if ($err = $this->setLocalPhar($localFilename, $oldFile)) { 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; return 1;
} }