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

log
Kai Reinhard
29.27.2018 8ff275b2e06e908fc2e76c1dbc85ed81b61e2429
log
1 files modified
9 ■■■■■ changed files
borgbutler-core/src/main/java/de/micromata/borgbutler/jobs/AbstractCommandLineJob.java 9 ●●●●● patch | view | raw | blame | history
borgbutler-core/src/main/java/de/micromata/borgbutler/jobs/AbstractCommandLineJob.java
@@ -87,15 +87,14 @@
            }
        });
        executor.setStreamHandler(streamHandler);
        if (StringUtils.isNotBlank(this.description)) {
            log.info(description);
        }
        log.info("Executing '" + commandLineAsString + "'...");
        String msg = StringUtils.isNotBlank(this.description) ? description + " ('" + commandLineAsString + "')..."
                : "Executing '" + commandLineAsString + "'...";
        log.info(msg);
        this.executeStarted = true;
        try {
            executor.execute(commandLine, getEnvironment());
            afterSuccess();
            log.info(msg + " Done.");
        } catch (Exception ex) {
            failed();
            afterFailure(ex);