[FELIX-2982] noInitialDelay option does not work (fix possible pb when the initial polling delay is interrupted

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1132718 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
index 374431f..4f966df 100644
--- a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
+++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
@@ -250,6 +250,7 @@
             } catch (InterruptedException e) {
                 log(Logger.LOG_DEBUG, "Watcher for " + watchedDirectory + " was interrupted while waiting "
                     + poll + " milliseconds for initial directory scan.", e);
+                return;
             }
             initializeCurrentManagedBundles();
         }