FELIX-1238 Applying patch by Filippo Diotalevi adding missing returns statements.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@784662 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java b/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
index eb77d62..d40e423 100644
--- a/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
+++ b/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
@@ -140,6 +140,7 @@
                 if ( components == null )
                 {
                     out.println( "Bundle " + bundleId + " declares no components" );
+                    return;
                 }
             }
             catch ( NumberFormatException nfe )
@@ -154,6 +155,7 @@
             if ( components == null )
             {
                 out.println( "No components registered" );
+                return;
             }
         }