             self.executecontinuislycheckforalive = false
             task.launchPath = command
         } else {
-            if self.arguments?.contains("--dry-run") ?? false == true {
+            if self.arguments?.contains("--dry-run") ?? false == false {
                 self.executecontinuislycheckforalive = true
             }
             task.launchPath = Getrsyncpath().rsyncpath

        task.launch()
        // Create the Timer object for verifying the process object is alive
        if self.executecontinuislycheckforalive {
            self.continuislycheckforalive = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(self.check), userInfo: nil, repeats: true)
        }
    }


    }

    @objc func check() {
        /*
         if self.processReference?.isRunning ?? false == false {
             self.processReference?.interrupt()
         } else {
             print("checking")
         }
          */
        let output = OutputProcess()
        let string = "Interupting " + Date().long_localized_string_from_date()
        output.addlinefromoutput(str: string)
        _ = Logging(output, true)
        self.processReference?.interrupt()
    }

    init(command: String?, arguments: [String]?) {
