correct rsync error logging deficiency in routine_list.nim
This commit is contained in:
parent
ebf986e38a
commit
7e33cb5773
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue