From f9b855a56b13708e2224efa54060b90539406383 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 2 Feb 2021 16:59:14 +0000 Subject: Make if propagate failure code --- doc/if.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/if.html b/doc/if.html index 700ee59..99be53e 100644 --- a/doc/if.html +++ b/doc/if.html @@ -38,19 +38,22 @@ then waits for it to complete.
  • If prog1 crashes, if prints an error message then exits 128 plus the number of the signal that killed prog1.
  • -
  • If prog1 exits a non-zero status, -if exits 1.
  • +
  • If prog1 exits with a non-zero code, if exits with an +approximation of that code.
  • Else if execs into prog2.
  • Options

    Notes

    -- cgit v1.2.3