* [sup-talk] patch: accept "yes" when asked so
@ 2008-10-30 23:40 Tomas Pospisek ML
2008-11-02 18:54 ` William Morgan
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Pospisek ML @ 2008-10-30 23:40 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-02 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-30 23:40 [sup-talk] patch: accept "yes" when asked so Tomas Pospisek ML
2008-11-02 18:54 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox