|
| From: | Pádraig Brady |
| Subject: | bug#21760: timeout: Feature Request: --verbose ==> output if timeout was reached |
| Date: | Mon, 26 Oct 2015 15:51:57 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 26/10/15 14:26, Thomas GĂĽttler wrote:
>
>
> Am 26.10.2015 um 12:44 schrieb Pádraig Brady:
>>
>> I've not sure there is enough distinct actions within timeout(1) to warrant
>> --verbose?
>> How about doing this in the script?
>>
>> timeout 1s ping localhost
>> test $? = 124 && echo { 'ping timed out'; exit 1; }
>>
>
> The issue was already closed with "wontfix". This leads me to the
> conclusion that your are not interested in my answer.
>
> Was your "How about doing this in the script?" really a question?
We can always reopen if necessary.
I closed as wontfix for now as the above is a strong suggestion.
Generally one needs to handle the timeout in various ways,
and printing a diagnostic is just one of those.
thanks,
Pádraig
| [Prev in Thread] | Current Thread | [Next in Thread] |