charlesetc / feather

A shell library for OCaml
MIT License
77 stars 8 forks source link

Update last_exit for successful commands #2

Closed Firobe closed 3 years ago

Firobe commented 3 years ago

Currently, last_exit only reflects the last failure. Hence it is impossible to check that a command succeeded.

This PR fixes that.

charlesetc commented 3 years ago

Thank you!