mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 18:27:04 +03:00
import: correct handling if .nspawn file could not be downloaded
This commit is contained in:
parent
7705a4053d
commit
1f9aa80a59
@ -366,9 +366,10 @@ int pull_verify(PullJob *main_job,
|
||||
|
||||
log_info("SHA256 checksum of %s is valid.", main_job->url);
|
||||
|
||||
assert(!settings_job || settings_job->state == PULL_JOB_DONE);
|
||||
assert(!settings_job || IN_SET(settings_job->state, PULL_JOB_DONE, PULL_JOB_FAILED));
|
||||
|
||||
if (settings_job &&
|
||||
settings_job->state == PULL_JOB_DONE &&
|
||||
settings_job->error == 0 &&
|
||||
!settings_job->etag_exists) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user