summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-06-14 00:42:00 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2006-06-14 00:42:00 +0000
commit6c4f37d17cd98b1079dffce7365063a2e4ade976 (patch)
tree9d4d5daeba84e745f55fb1131dcd65a48cfb0358
parent26fb381299a4842acb4a0ad7d01958bd90f5e153 (diff)
Set abort_on_exception
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@127 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xmunin/ipmi_sensor_2
1 files changed, 2 insertions, 0 deletions
diff --git a/munin/ipmi_sensor_ b/munin/ipmi_sensor_
index c2e0876..a56994e 100755
--- a/munin/ipmi_sensor_
+++ b/munin/ipmi_sensor_
@@ -24,6 +24,8 @@ CACHEFILE = "plugin-ipmi_sensor.cache"
CACHE_AGE = 275
IPMITOOL = '/usr/bin/ipmitool'
+Thread.abort_on_exception = true
+
def bail_out(m)
STDERR.puts "#{$0}: #{m}"
exit 1