Re: [Help-bash] Bash is setting disposition of a signal, ignored upon en
From:
Chet Ramey
Subject:
Re: [Help-bash] Bash is setting disposition of a signal, ignored upon entry to shell, to default
Date:
Sat, 12 Jan 2013 22:28:13 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0
On 1/11/13 1:22 AM, Anoop Sharma wrote:
> I am testing on Ubuntu 12.04.1 LTS.
>
> I have narrowed down this issue a bit more. The problem is not seen when I
> include a "#! /bin/bash" in the script or if I use the command "bash -c
> test_1.sh".
OK, I found it. It happens only when the shell is interactive (my previous
tests were using shell scripts), and the fix went in in July and appears in
the development branch. The original bug report that prompted the fix was
http://lists.gnu.org/archive/html/bug-bash/2012-07/msg00084.html
If you're curious, the attached patch is the one that does the trick.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/