karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject [1/2] karaf git commit: [KARAF-4660] Fix typo in wrapper install output message
Date Tue, 23 Aug 2016 08:46:34 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 329e260f1 -> 2acffcf24


[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/7f457808
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/7f457808
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/7f457808

Branch: refs/heads/master
Commit: 7f457808303df3fbd3ca08c997722a3a3e12e207
Parents: 329e260
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:45:37 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/7f457808/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