mirror of https://github.com/micromata/borgbackup-butler.git

...
Kai Reinhard
09.37.2018 52e7a16721b90575c2425db04484ef2a258cc03c
borgbutler-core/src/main/java/de/micromata/borgbutler/BorgCommands.java
@@ -76,7 +76,7 @@
        String response = outputStream.toString(Definitions.STD_CHARSET);
        try {
            IOUtils.copy(new StringReader(response), new FileWriter("response.json"));
        }catch (IOException ex) {
        } catch (IOException ex) {
        }
        List<FilesystemItem> content = new ArrayList<>();
@@ -101,7 +101,8 @@
        CommandLine cmdLine = new CommandLine(ConfigurationHandler.getConfiguration().getBorgCommand());
        cmdLine.addArgument(command);
        for (String arg : args) {
            cmdLine.addArgument(arg);
            if (arg != null)
                cmdLine.addArgument(arg);
        }
        cmdLine.addArgument(repoOrArchive);
        DefaultExecutor executor = new DefaultExecutor();