commit:0b159ca76f2c0488e369f594bb22b1a604941811
author:Chip Black
committer:Chip Black
date:Thu Aug 28 16:43:01 2008 -0500
parents:ae12d54eb3dab43088b07c71c003a9ea076eb30c, 78454ea6d3cf8174a837faf65b7f2371652db826
Merge branch 'master' of yossarian.lan:utunes
diff --git a/utunes.pl b/utunes.pl
line changes: +1/-1
index e97281a..60e8058
--- a/utunes.pl
+++ b/utunes.pl
@@ -80,7 +80,6 @@ sub daemon {
 	sub ohnoes {
 		kill SIGTERM, $playpid if $playpid;
 		unlink "$uthome/pid";
-		#unlink "$uthome/current";
 		exit 0;
 	}
 	$SIG{TERM} = \&ohnoes;
@@ -92,6 +91,7 @@ sub daemon {
 			$c++;
 		}
 	}
+	unlink "$uthome/current";
 	ohnoes();
 }