Changeset d505128 for jhalfs


Ignore:
Timestamp:
01/13/2019 08:32:24 AM (5 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
b71e3ad
Parents:
f168be1
Message:

Do not exit on SIGCHLD:

With bash 5.0, a SIGCHLD signal is sent whenever a subshell exits. The signal
numbers passed to the trap instruction in jhalfs contain SIGCHLD, and this
new behavior causes jhalfs to exit. Fix this by using names instead of numbers
for the trap, and (of course) not trapping SIGCHLD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    rf168be1 rd505128  
    6767trap see_ya 0
    6868trap 'simple_error "${LINENO}" "$?" "${FUNCNAME}" "${BASH_SOURCE}"' ERR
    69 trap 'echo -e "\n\n${RED}INTERRUPT${OFF} trapped\n" &&  exit 2'  1 2 3 15 17 18 23
     69trap 'echo -e "\n\n${RED}INTERRUPT${OFF} trapped\n" &&  exit 2' \
     70      HUP INT QUIT TERM # STOP stops tterminal output and does not seem to
     71                        # execute the handler
    7072#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    7173
Note: See TracChangeset for help on using the changeset viewer.