Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
withgod committed Oct 1, 2021
1 parent 47919ef commit 13b625e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion munin-plugin/murmur_
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if len(sys.argv) > 1 and sys.argv[1] == 'autoconf':
print 'no'
sys.exit(2)

Ice.loadSlice(slice)
Ice.loadSlice("--all -I%s %s" % ("/usr/share/ice/slice", slice))
import Murmur
ice = Ice.initialize()
prx = ice.stringToProxy(proxy)
Expand Down Expand Up @@ -64,3 +64,10 @@ if len(sys.argv) > 1 and sys.argv[1] == 'config':
else:
print "mumble.value %d" % (user_count)

if ice:
try:
ice.destroy()
except:
traceback.print_exc()
status = 1

0 comments on commit 13b625e

Please sign in to comment.