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
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk