metent / uair

An extensible pomodoro timer
MIT License
90 stars 6 forks source link

`uair` should return 1 on errors #17

Closed jficz closed 8 months ago

jficz commented 8 months ago

Currently, if running uair results in an error (such as when an instance is already running), no specific error code is returned and the caller shell has no information about the errorneous state. Instead, 1 (or a non-zero exit code in general) should be returned on errors so the status can be treated properly in scripts, like

uair || uairctl listen
metent commented 8 months ago

This is resolved now on main branch.