From: dato@net.com.org.es (Adeodato Simó)
Subject: [sup-talk] sup ignoring SIGTERM?
Date: Thu, 6 Aug 2009 20:37:25 +0200 [thread overview]
Message-ID: <20090806183725.GA8363@chistera.yi.org> (raw)
In-Reply-To: <1249502171-sup-8079@masanjin.net>
+ William Morgan (Wed, 05 Aug 2009 13:03:09 -0700):
> Reformatted excerpts from Adeodato Sim?'s message of 2009-08-05:
> > it is my impression that sup is ignoring SIGTERM, whereas I would be
> > expecting for sup to clean up (including removal of the lock file) and
> > exit normally upon receiving this signal.
> Good point. I've fixed that in branch ncurses-fixes, which I've merged
> into next. Let me know if it works for you.
Everything seems to work fine as of 3478e40, including sup terminating
upon SIGTERM. If I may, I'd suggest normal termination instead of
raising an exception. IMHO, it is expected that programs that capture
SIGTERM, will do cleanup and exit normally, rather than behave as if an
error had happened. (Perhaps it'd be difficult to exit sup cleanly from
the handler in any other way than an exception: that, I don't know.)
Thanks, in any case.
--
- Are you sure we're good?
- Always.
-- Rory and Lorelai
next prev parent reply other threads:[~2009-08-06 18:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-05 14:09 Adeodato Simó
2009-08-05 20:03 ` William Morgan
2009-08-05 20:25 ` Nicolas Pouillard
2009-08-05 21:24 ` William Morgan
2009-08-06 17:53 ` William Morgan
2009-08-06 18:09 ` Nicolas Pouillard
2009-08-06 23:56 ` Ben Walton
2009-08-05 20:35 ` Ben Walton
2009-08-05 21:28 ` Edward Z. Yang
2009-08-06 18:37 ` Adeodato Simó [this message]
2009-08-07 1:38 ` William Morgan
2009-08-07 10:31 ` Adeodato Simó
2009-08-07 16:40 ` Rich Lane
2009-08-08 9:23 ` Adeodato Simó
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090806183725.GA8363@chistera.yi.org \
--to=dato@net.com.org.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox