From: tpo2@sourcepole.ch (Tomas Pospisek ML)
Subject: [sup-talk] patch: accept "yes" when asked so
Date: Thu, 30 Oct 2008 23:40:22 +0000 [thread overview]
Message-ID: <7ny3wDtl.1225410022.1981460.tpo2@192.168.3.7> (raw)
The patch below makes Sup accept a "yes" in addition to "y"
--- bin/sup.orig 2008-10-30 23:38:04.000000000 +0100
+++ bin/sup 2008-10-30 23:43:23.000000000 +0100
@@ -101,7 +101,7 @@
h.say Index.fancy_lock_error_message_for(e)
case h.ask("Should I ask that process to kill itself? ")
- when /^\s*y\s*$/i
+ when /^\s*y(es)?\s*$/i
h.say "Ok, suggesting seppuku..."
FileUtils.touch Redwood::SUICIDE_FN
sleep SuicideManager::DELAY * 2
next reply other threads:[~2008-10-30 23:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 23:40 Tomas Pospisek ML [this message]
2008-11-02 18:54 ` William Morgan
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=7ny3wDtl.1225410022.1981460.tpo2@192.168.3.7 \
--to=tpo2@sourcepole.ch \
/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