[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which exit code should --halt give?
From: |
Ole Tange |
Subject: |
Re: Which exit code should --halt give? |
Date: |
Tue, 5 May 2015 00:55:29 +0200 |
On Sat, May 2, 2015 at 12:26 PM, Ole Tange <ole@tange.dk> wrote:
> --halt soon,fail=XX% == --halt XX%
> --halt now,fail=XX%
> --halt soon,success=XX%
> --halt now,success=XX%
I would imagine the typical situation where % would be used is when
you have lots of jobs. If you have 10000s of jobs the limit of 253
(given by 8-bit and 254+255 reserved) failing jobs will be useless,
but the exit code could be the percentage of failing jobs rounded up
to the nearest integer. So 0% => 0, 0.01% => 1 and 99.99% => 100.
/Ole