[BusyBox 0004324]: Busybox ASH cannot trap
bugs at busybox.net
bugs at busybox.net
Fri Jul 25 17:03:29 UTC 2008
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=4324
======================================================================
Reported By: corp186
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 4324
Category: Standards Compliance
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 07-25-2008 10:03 PDT
Last Modified: 07-25-2008 10:03 PDT
======================================================================
Summary: Busybox ASH cannot trap
Description:
The following script hangs up with
kill -HUP %1
from the current shellm but not
with
kill -HUP <processid> from another shell.
Without the trap, it does react to signals
from another shell, but of course it does not run
the signal handler.
This is a bug, right? Is there any way to make
the script handle a signla sent from another shell>
#!/bin/sh
cleanup ()
{
echo "cleaning"
}
trap cleanup HUP
echo "sleeping "
sleep 100000
echo "done"
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
07-25-08 10:03 corp186 New Issue
07-25-08 10:03 corp186 Status new => assigned
07-25-08 10:03 corp186 Assigned To => BusyBox
======================================================================
More information about the busybox-cvs
mailing list