#646086 chronic: report non-zero exit status with empty output

Package:
moreutils
Source:
moreutils
Description:
additional Unix utilities
Submitter:
Per Olofsson
Date:
2011-10-21 08:03:05 UTC
Severity:
wishlist
#646086#5
Date:
2011-10-21 07:51:16 UTC
From:
To:
Hi,

While chronic prints any output if the command returns non-zero, it
does not print anything unless the command itself does:

pelle@piglet:~$ chronic false
pelle@piglet:~$

While this is the correct, documented behaviour, there are some rare
cases where scripts or commands will fail silently without printing an
error message. In such cases, I would still really want to know about
it. I suspect others would as well. It would be nice if chronic could
print a message, such as

<empty output, non-zero exit status>

in such cases.