My guess is you get 0 exit status if the timeout timer fires first, and 1 exit status if the deadline timer fires first. Dropping -W option would have been a simpler solution.
My guess is you get 0 exit status if the timeout timer fires first, and 1 exit status if the deadline timer fires first.
Dropping -W option would have been a simpler solution.