[PATCH 1/1] man: Clarify the `trap` condition `EXIT`

Christoph Anton Mitterer <[email protected]> Wed, 23 Oct 2024 21:55:45 +0200
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
From: Christoph Anton Mitterer <[email protected]>

Signed-off-by: Christoph Anton Mitterer <[email protected]>
---
 src/dash.1 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/dash.1 b/src/dash.1
index 96ce89e..dbc34c9 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -2157,7 +2157,8 @@ is
 .Li 0
 or
 .Li EXIT ,
-the action is executed when the shell exits.
+the action is executed when the shell exits normally (that is not via an
+unhandled signal like SIGINT).
 .Ar action
 may be empty
 .Li ( "''" ) ,
-- 
2.45.2