cli: inconsistent exit codes between _cmd_run and _cmd_interval on empty result #102

Closed
opened 2026-07-05 14:36:29 +00:00 by the.auditor · 0 comments
Owner

_cmd_interval() prints "No jobs found" but exits with code 0 (success). _cmd_run() exits with code 1 on not-found. Consider making the exit code behavior consistent — either both exit 1 on "nothing found" or both exit 0.

From PR #99 review suggestion.

`_cmd_interval()` prints "No jobs found" but exits with code 0 (success). `_cmd_run()` exits with code 1 on not-found. Consider making the exit code behavior consistent — either both exit 1 on "nothing found" or both exit 0. _From PR #99 review suggestion._
fuzzy closed this issue 2026-07-05 17:24:11 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai#102
No description provided.