ash: better comment. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/shell/ash.c b/shell/ash.c
index 0cada04..c909cae 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4601,8 +4601,9 @@
*
* Our solution: ONLY bare $(trap) or `trap` is special.
*/
- /* This is needed to prevent EXIT trap firing and such */
+ /* Save trap handler strings for trap builtin to print */
trap_ptr = memcpy(xmalloc(sizeof(trap)), trap, sizeof(trap));
+ /* Fall through into clearing traps */
}
clear_traps();
#if JOBS