commit 5931cdd02b995892592f898784dab192c8ef6895
parent dec822cd93cdb7792a0601b29d1351b166ac611d
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Sun, 2 Nov 2008 10:52:47 -0800
accept "yes" when asked so
patch from Thomas Pospisek ML"
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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