-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exit status code #25
Comments
Yeah, this would be great, something like It should be an explicit option like |
Yes, i think this feature is necessary! |
I don't think this is a good idea, by multiple reasons:
Therefore, the approach of having processes subscribed via inotify to file changes is more reasonable and fine grained. On the other hand, distinct error codes for different errors would make sense, e.g. for an invalid license key there should be a different exit status as for a probably temporal network connection issue. This could allow the implementation of retry mechanisms around the update tool. |
This command doesn't appear to have a differing status code, depending on if it updated the database(s) or not. It would be good to return something different so a cron job statement could chain restarting services ONLY if the databases were updated.
The text was updated successfully, but these errors were encountered: