mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-15 23:24:12 +03:00
importd: log more information when renaming files
This commit is contained in:
parent
e0061812b0
commit
dc38f65a72
@ -538,7 +538,7 @@ static void raw_pull_job_on_finished(PullJob *j) {
|
||||
|
||||
r = rename_noreplace(AT_FDCWD, i->temp_path, AT_FDCWD, i->final_path);
|
||||
if (r < 0) {
|
||||
log_error_errno(r, "Failed to move RAW file into place: %m");
|
||||
log_error_errno(r, "Failed to rename raw file to %s: %m", i->final_path);
|
||||
goto finish;
|
||||
}
|
||||
|
||||
|
@ -359,7 +359,7 @@ static void tar_pull_job_on_finished(PullJob *j) {
|
||||
|
||||
r = rename_noreplace(AT_FDCWD, i->temp_path, AT_FDCWD, i->final_path);
|
||||
if (r < 0) {
|
||||
log_error_errno(r, "Failed to rename to final image name: %m");
|
||||
log_error_errno(r, "Failed to rename to final image name to %s: %m", i->final_path);
|
||||
goto finish;
|
||||
}
|
||||
|
||||
@ -386,7 +386,7 @@ static void tar_pull_job_on_finished(PullJob *j) {
|
||||
|
||||
r = rename_noreplace(AT_FDCWD, i->settings_temp_path, AT_FDCWD, i->settings_path);
|
||||
if (r < 0) {
|
||||
log_error_errno(r, "Failed to rename settings file: %m");
|
||||
log_error_errno(r, "Failed to rename settings file to %s: %m", i->settings_path);
|
||||
goto finish;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user