From: William Morgan Date: Sun, 2 Nov 2008 18:52:47 +0000 (-0800) Subject: accept "yes" when asked so X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=5931cdd02b995892592f898784dab192c8ef6895;p=sup accept "yes" when asked so patch from Thomas Pospisek ML" --- diff --git a/bin/sup b/bin/sup index 74a4997..124af75 100644 --- a/bin/sup +++ b/bin/sup @@ -102,7 +102,7 @@ rescue Index::LockError => e 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