narc0tiq / factorio-updater

Factorio update helper for headless servers
MIT License
244 stars 48 forks source link

Use the --dry-run mode to avoid to stop the server when no update is available #29

Closed lgnap closed 6 years ago

lgnap commented 6 years ago

Hello,

For the moment I have to stop the factorio server just in case of new update is available (the binary doesn't allow to self update if running). I think that return a error/shell/return code != 0 if new version available in dry-run mode could be interesting before really stop the server and effectively run the update.

Thanks

narc0tiq commented 6 years ago

Makes sense to me.