Exit with status code of the ran command
nhooyr opened this issue · 2 comments
nhooyr commented
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.
nhooyr commented
Can reproduce with noti false; echo $?
which outputs 0.