import: remove misplaced assert()
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2017 18:25:07 +0000 (20:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2017 18:25:07 +0000 (20:25 +0200)
commite0061812b00db3c8226ad845d3c2741d5c5fc86e
treec49951a5c77eb81380e6cc07e9f0d5878d15a3c0
parentf52b982cc9504bf89b035d4b55ac038a61226210
import: remove misplaced assert()

We shouldn't assume the final path for the settings file is already
known, it unlikely is unless we already downloaded the image once. Also
add some commenting to explain the code surrounding the assert a bit.

Fixes: #6188
src/import/pull-raw.c
src/import/pull-tar.c