Package: dash
Version: 0.5.3-3
Severity: normal

Hi,

If I run the this two line script:

  trap 'echo EXIT trap executed' EXIT
  kill -HUP $$

I would expect it to display "EXIT trap executed", but it does not
display anything.

(If I add a HUP trap, both the HUP trap and the EXIT trap are executed.)

Cheers,
Martin


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-2
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages dash depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries

dash recommends no packages.

-- debconf information:
* dash/sh: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to