humbug / phar-updater

A thing to make PHAR self-updates easy and secure
BSD 3-Clause "New" or "Revised" License
368 stars 27 forks source link

Check rollback unnecessary message #40

Open padraic opened 7 years ago

padraic commented 7 years ago

When rolling back to an older release (but there is none), the result message isn't an error, but it suggests a successful rollback anyway.

Edit: Actually there is a backup - the problem is that we're not deleting backups after failed downloads, so rollbacks always succeed in that event. The impact is harmless but should be avoided by cleaning up after download errors.