if (!ratelimit_below(&e->progress_ratelimit))
return;
- sd_notifyf(false, "X_IMPORT_PROGRESS=%u", percent);
+ sd_notifyf(false, "X_IMPORT_PROGRESS=%u%%", percent);
log_info("Exported %u%%.", percent);
e->last_percent = percent;
if (!ratelimit_below(&e->progress_ratelimit))
return;
- sd_notifyf(false, "X_IMPORT_PROGRESS=%u", percent);
+ sd_notifyf(false, "X_IMPORT_PROGRESS=%u%%", percent);
log_info("Exported %u%%.", percent);
e->last_percent = percent;
if (!ratelimit_below(&i->progress_ratelimit))
return;
- sd_notifyf(false, "X_IMPORT_PROGRESS=%u", percent);
+ sd_notifyf(false, "X_IMPORT_PROGRESS=%u%%", percent);
log_info("Imported %u%%.", percent);
i->last_percent = percent;
if (!ratelimit_below(&i->progress_ratelimit))
return;
- sd_notifyf(false, "X_IMPORT_PROGRESS=%u", percent);
+ sd_notifyf(false, "X_IMPORT_PROGRESS=%u%%", percent);
log_info("Imported %u%%.", percent);
i->last_percent = percent;
r = parse_percent(p);
if (r < 0) {
- log_warning("Got invalid percent value, ignoring.");
+ log_warning("Got invalid percent value '%s', ignoring.", p);
return 0;
}
assert_not_reached();
}
- sd_notifyf(false, "X_IMPORT_PROGRESS=%u", percent);
+ sd_notifyf(false, "X_IMPORT_PROGRESS=%u%%", percent);
log_debug("Combined progress %u%%", percent);
}
assert_not_reached();
}
- sd_notifyf(false, "X_IMPORT_PROGRESS=%u", percent);
+ sd_notifyf(false, "X_IMPORT_PROGRESS=%u%%", percent);
log_debug("Combined progress %u%%", percent);
}