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

Kai Reinhard
11.51.2019 e020777afbc812c19322229286e57e259c7e1424
borgbutler-core/src/main/java/de/micromata/borgbutler/jobs/AbstractJob.java
@@ -91,7 +91,7 @@
            // do nothing. It's normal that cancelled jobs fail.
            return;
        }
        if (this.status != Status.RUNNING) {
        if (this.status != null && this.status != Status.RUNNING) {
            logger.error("Internal error, illegal state! You shouldn't set the job status to FAILED if not in status RUNNING: " + this.status);
        }
        setStatus(Status.FAILED);