From 3b05864b538d3d1c7aa77bc5cc2e4db58f0c9a6d Mon Sep 17 00:00:00 2001 From: William Morgan Date: Wed, 5 Aug 2009 15:41:45 -0400 Subject: [PATCH] trap term --- bin/sup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/sup b/bin/sup index b32ad75..d52a0ad 100755 --- a/bin/sup +++ b/bin/sup @@ -160,6 +160,8 @@ begin Redwood::start Index.load + trap("TERM") { |x| raise "so speaking as i think, i die, i die!" } + if(s = Redwood::SourceManager.source_for DraftManager.source_name) DraftManager.source = s else -- 2.45.2