Give a name to the shutdown hook thread.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@818094 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/main/src/main/java/org/apache/felix/main/Main.java b/main/src/main/java/org/apache/felix/main/Main.java
index 67296c0..f2e75b6 100644
--- a/main/src/main/java/org/apache/felix/main/Main.java
+++ b/main/src/main/java/org/apache/felix/main/Main.java
@@ -260,7 +260,7 @@
         String enableHook = configProps.getProperty(SHUTDOWN_HOOK_PROP);
         if ((enableHook == null) || !enableHook.equalsIgnoreCase("false"))
         {
-            Runtime.getRuntime().addShutdownHook(new Thread() {
+            Runtime.getRuntime().addShutdownHook(new Thread("Felix Shutdown Hook") {
                 public void run()
                 {
                     try