|
|
|
@ -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 = "<span color=\"#ff6b6b\" size=\"large\">Error! Please see the log at ~/.ez-bkup/errors.log</span>" |
|
|
|
|
for err in rsyncErrors: |
|
|
|
|