diff --git a/views/routine_list.nim b/views/routine_list.nim index 8c20162..053fe5f 100644 --- a/views/routine_list.nim +++ b/views/routine_list.nim @@ -66,6 +66,8 @@ proc rsyncThread(list: RoutineListState) {.thread.} = rsyncRun = execCmdEx(rsyncRunCmd) if rsyncRun.exitCode != 0: rsyncErrors.add("EZ-Bkup's rsync process(es) returned error (" & $rsyncRun.output & ") while attempting to back up " & source & " to " & destination) + else: + rsyncErrors.add("EZ-Bkup's rsync process(es) returned error (" & $rsyncRun.output & ") while attempting to back up " & source & " to " & destination) if rsyncErrors.len > 0: list.runStatus = "Error! Please see the log at ~/.ez-bkup/errors.log" for err in rsyncErrors: