diff --git a/lib/bud.rb b/lib/bud.rb
index <HASH>..<HASH> 100644
--- a/lib/bud.rb
+++ b/lib/bud.rb
@@ -585,7 +585,7 @@ module Bud
       Signal.trap("INT") do
         schedule_shutdown(true)
       end
-      Signal.trap("TRAP") do
+      Signal.trap("TERM") do
         schedule_shutdown(true)
       end
     end
Fix typo in signal handling.

Should be handling SIGTERM, not SIGTRAP.