Index: trunk/Nebulous-Server/Changes
===================================================================
--- trunk/Nebulous-Server/Changes	(revision 20030)
+++ trunk/Nebulous-Server/Changes	(revision 20031)
@@ -25,4 +25,5 @@
     - change find_objects_with_unavailable_instances query to work on a
       temporary table instead of directly on the mountedvol table
+    - change neb-admin to properly cleanup it's semaphore file
 
 0.15 Thu Sep 11 13:00:59 HST 2008
Index: trunk/Nebulous-Server/bin/neb-admin
===================================================================
--- trunk/Nebulous-Server/bin/neb-admin	(revision 20030)
+++ trunk/Nebulous-Server/bin/neb-admin	(revision 20031)
@@ -3,5 +3,5 @@
 # Copyright (C) 2005-2008  Joshua Hoblitt
 #
-# $Id: neb-admin,v 1.10 2008-10-09 23:27:44 jhoblitt Exp $
+# $Id: neb-admin,v 1.11 2008-10-09 23:41:47 jhoblitt Exp $
 
 use strict;
@@ -51,6 +51,6 @@
 # check to make sure that only one instance of neb-admin is running
 my $pidfile = '/var/tmp/neb-admin';
-$SIG{TERM} = sub { unlink_pid_file($pidfile); exit(); };
 # abort if an instance is already running
+END { unlink_pid_file($pidfile) };
 check_pid_file($pidfile);
 create_pid_file($pidfile);
