You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2021/03/08 15:08:03 UTC

[karaf] branch master updated: [KARAF-6958] Add PAUSE option support in client.bat

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new 9dfe1cc  [KARAF-6958] Add PAUSE option support in client.bat
     new 1eb99ab  Merge pull request #1327 from jbonofre/KARAF-6958
9dfe1cc is described below

commit 9dfe1cca4cefe0964dfab4185b3e092a4566366e
Author: jbonofre <jb...@apache.org>
AuthorDate: Mon Mar 8 09:04:19 2021 +0100

    [KARAF-6958] Add PAUSE option support in client.bat
---
 .../base/src/main/filtered-resources/resources/bin/client.bat         | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/client.bat b/assemblies/features/base/src/main/filtered-resources/resources/bin/client.bat
index cbbddb0..ec35782 100644
--- a/assemblies/features/base/src/main/filtered-resources/resources/bin/client.bat
+++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/client.bat
@@ -246,3 +246,7 @@ rem # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
 
 endlocal
 
+if not "%PAUSE%" == "" pause
+
+:END_NO_PAUSE
+    EXIT /B %ERRORLEVEL%
\ No newline at end of file