 
     deinit {
         // Execute posttask
+        guard self.error == false else { return }
         self.executeposttask()
     }
 }

                    outputprocess.addlinefromoutput(str: "ShellOut error")
                    outputprocess.addlinefromoutput(str: error?.message ?? "")
                    _ = Logging(outputprocess, true)
                    return
                }
            }
        }

        if let index = self.index {
            // Execute pretask
            self.executepretask()
            guard self.error == false else { return }
            self.outputprocess = OutputProcessRsync()
            if let arguments = self.configurations?.arguments4rsync(index: index, argtype: .arg) {
                if #available(OSX 10.14, *) {
