set_jcr_job_status(jcr, JS_ErrorTerminated);
}
- if (jcr->total_acl_errors > 0) {
+ if (have_acl && jcr->acl_data->nr_errors > 0) {
Jmsg(jcr, M_ERROR, 0, _("Encountered %ld acl errors while doing backup\n"),
- jcr->total_acl_errors);
+ jcr->acl_data->nr_errors);
}
- if (jcr->total_xattr_errors > 0) {
+ if (have_xattr && jcr->xattr_data->nr_errors > 0) {
Jmsg(jcr, M_ERROR, 0, _("Encountered %ld xattr errors while doing backup\n"),
- jcr->total_xattr_errors);
+ jcr->xattr_data->nr_errors);
}
- accurate_send_deleted_list(jcr); /* send deleted list to SD */
+ accurate_finish(jcr); /* send deleted or base file list to SD */
stop_heartbeat_monitor(jcr);