Skip to content

Commit b202bbf

Browse files
committed
tweak: Improve non-dry code comment
1 parent fd29ee2 commit b202bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/src/public/bash-core.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ core.trap_add() {
2424

2525
___global_trap_table___["$signal_spec"]="${___global_trap_table___[$signal_spec]}"$'\x1C'"$function"
2626

27-
# rho (WET)
27+
# rho (DUPLICATED)
2828
local global_trap_handler_name=
2929
printf -v global_trap_handler_name '%q' "core._trap_handler_${signal_spec}"
3030

@@ -83,7 +83,7 @@ core.trap_remove() {
8383
# If there are no more user-provided trap-handlers (for the particular signal spec in the global trap table),
8484
# then remove our handler from 'trap'
8585
if [ -z "$new_trap_handlers" ]; then
86-
# rho (WET)
86+
# rho (DUPLICATED)
8787
local global_trap_handler_name=
8888
printf -v global_trap_handler_name '%q' "core._trap_handler_${signal_spec}"
8989
trap -- "$signal_spec"

0 commit comments

Comments
 (0)