From mboxrd@z Thu Jan 1 00:00:00 1970 From: tpo2@sourcepole.ch (Tomas Pospisek ML) Date: Thu, 30 Oct 2008 23:40:22 +0000 Subject: [sup-talk] patch: accept "yes" when asked so Message-ID: <7ny3wDtl.1225410022.1981460.tpo2@192.168.3.7> 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