variadico/noti

Exit with status code of the ran command

nhooyr opened this issue · 2 comments

noti always exits with status zero which hides the status of the actual command behind monitored.

This is an issue when using noti in a script where you expect an error to occur when the command being monitored fails.

Can reproduce with noti false; echo $? which outputs 0.

Fixed in #115