karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: [KARAF-4660] Fix typo in wrapper install output message
Date Tue, 23 Aug 2016 08:46:54 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x ed36a4eac -> 181556fd1


[KARAF-4660] Fix typo in wrapper install output message

Fix the `rm` command to use the karaf-service file instead of the complete path


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

Branch: refs/heads/karaf-4.0.x
Commit: 181556fd1ac372dd7bdb7f021f784583f0add154
Parents: ed36a4e
Author: Guillaume Le Floch <glfloch@gmail.com>
Authored: Tue Aug 23 08:43:35 2016 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Tue Aug 23 10:46:48 2016 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/karaf/wrapper/commands/Install.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/181556fd/wrapper/src/main/java/org/apache/karaf/wrapper/commands/Install.java
----------------------------------------------------------------------
diff --git a/wrapper/src/main/java/org/apache/karaf/wrapper/commands/Install.java b/wrapper/src/main/java/org/apache/karaf/wrapper/commands/Install.java
index 3fbca78..1be6c71 100644
--- a/wrapper/src/main/java/org/apache/karaf/wrapper/commands/Install.java
+++ b/wrapper/src/main/java/org/apache/karaf/wrapper/commands/Install.java
@@ -134,7 +134,7 @@ public class Install implements Action {
                 System.out.println("");
                 System.out.println("  To uninstall the service :");
                 System.out.println("    $ chkconfig " + serviceFile.getName() + " --del");
-                System.out.println("    $ rm /etc/init.d/" + serviceFile.getPath());
+                System.out.println("    $ rm /etc/init.d/" + serviceFile.getName());
             } else if (debianVersion.exists()) {
                 System.out.println("");
                 System.out.println(INTENSITY_BOLD + "Ubuntu/Debian Linux system detected
(SystemV):" + INTENSITY_NORMAL);


Mime
View raw message