[Logcheck-devel] #207795: logcheck: fails to clean up when interrupted
Todd Troxell
ttroxell at debian.org
Wed Apr 28 14:25:16 UTC 2004
I don't like the dependence on bash either, but I think it's more
important to have the patch in at this point. I don't know of a way to an
onexit trap for other shells. There is onintr for csh, but it's not the
same. Hmm.
A perl/python rewrite would be nice too, but right now, I think it's more
important to get these bugs squashed.
-Todd
On Tue, Apr 27, 2004 at 03:34:45PM -0500, Eric Evans wrote:
> I applied the patch attached to bug #207795 to CVS yesterday, and then
> some hours later it dawned on me that the trap builtin might not be
> present in all shells, (and sure enough it isn't).
>
> Does anyone know of a more portable way to handle signals in a shell
> script?
>
> --
> Eric Evans
> eevans at sym-link.com
--
[ Todd J. Troxell ,''`.
PSU Student, Debian GNU/Linux Developer, 100% Geek : :' :
31B8 BF83 4898 E26D 1935 4C5D E2ED E843 7147 3F66 `. `'
http://www.rapidpacket.com:81 || http://www.debian.org `- ]
* Join the EFF & secure your digital freedoms today! http://eff.org *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040428/13fabe6f/attachment.pgp
More information about the Logcheck-devel
mailing list