karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject karaf git commit: [KARAF-4373] Karaf.bat script produces "The syntax of the command is incorrect" even if it is working properly
Date Wed, 02 Mar 2016 07:51:40 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x 799e50c54 -> 721eafba6


[KARAF-4373] Karaf.bat script produces "The syntax of the command is incorrect" even if it
is working properly


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/721eafba
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/721eafba
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/721eafba

Branch: refs/heads/karaf-4.0.x
Commit: 721eafba6f6fb382b50b67f0baf06421e7666b81
Parents: 799e50c
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Wed Mar 2 08:49:31 2016 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Wed Mar 2 08:51:06 2016 +0100

----------------------------------------------------------------------
 .../base/src/main/resources/resources/bin/karaf.bat      | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/721eafba/assemblies/features/base/src/main/resources/resources/bin/karaf.bat
----------------------------------------------------------------------
diff --git a/assemblies/features/base/src/main/resources/resources/bin/karaf.bat b/assemblies/features/base/src/main/resources/resources/bin/karaf.bat
index 611e5d0..3539949 100644
--- a/assemblies/features/base/src/main/resources/resources/bin/karaf.bat
+++ b/assemblies/features/base/src/main/resources/resources/bin/karaf.bat
@@ -400,11 +400,12 @@ if "%KARAF_PROFILER%" == "" goto :RUN
             if ERRORLEVEL 10 (
                 echo Restarting ...
                 %KARAF_DAEMON% restart!
-        )
-    ) else (
-        if ERRORLEVEL 10 (
-            echo Restarting JVM...
-            goto EXECUTE
+            )
+        ) else (
+            if ERRORLEVEL 10 (
+                echo Restarting JVM...
+                goto EXECUTE
+            )
         )
     )
 


Mime
View raw message