* [ISSUE] non-existent mail arguments are silently discarded
@ 2024-10-08 12:48 nmeum
0 siblings, 0 replies; only message in thread
From: nmeum @ 2024-10-08 12:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
New issue by nmeum on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/264
Description:
As per `mmsg(7)` file names can also be passed as arguments. However, it is presently not checked explicitly whether the specified files actually exist. As such, mblaze utilities exit with a zero exit status even if the specified mail doesn't exist. For example:
```
$ mblaze -s /does/not/exist
$ echo $?
0
```
In such cases, an error should be printed and the utility should exit with a non-zero exit status. As briefly discussed on IRC, there is not technical reason why it's presently implemented like that it's just that noone has implemented the proper error handling so far.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-08 12:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08 12:48 [ISSUE] non-existent mail arguments are silently discarded nmeum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).