commit | 190eec33a35f1af6140fe3a6ead454457d9a3330 | [log] [tgz] |
---|---|---|
author | jbonofre <jbonofre@apache.org> | Fri Apr 09 08:21:31 2021 +0200 |
committer | jbonofre <jbonofre@apache.org> | Fri Apr 09 17:00:09 2021 +0200 |
tree | efcb4133aab9178307c485afde33b445503fe31f | |
parent | 53dacc4cd0464e5a91b68d470d927fbb7ba9fa0d [diff] |
[KARAF-7093] Use .karaf/karaf.history file name instead of .karaf/karaf41.history
diff --git a/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java b/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java index 2561be1..b4af472 100644 --- a/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java +++ b/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java
@@ -299,7 +299,7 @@ * @return the history file */ protected Path getHistoryFile() { - String defaultHistoryPath = new File(System.getProperty("user.home"), ".karaf/karaf41.history").toString(); + String defaultHistoryPath = new File(System.getProperty("user.home"), ".karaf/karaf.history").toString(); return Paths.get(System.getProperty("karaf.history", defaultHistoryPath)); }