Tue, 27 May 2008 15:51:51 +0200fix bug in exit function
greg [Tue, 27 May 2008 15:51:51 +0200] rev 465
fix bug in exit function
(add test to check if it is a master)