summaryrefslogtreecommitdiff
path: root/src/import/importd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/importd.c')
-rw-r--r--src/import/importd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/import/importd.c b/src/import/importd.c
index 40900ce36d..92ad801306 100644
--- a/src/import/importd.c
+++ b/src/import/importd.c
@@ -343,9 +343,7 @@ static int transfer_start(Transfer *t) {
if (t->pid == 0) {
const char *cmd[] = {
"systemd-pull",
- t->type == TRANSFER_TAR ? "pull-tar" :
- t->type == TRANSFER_RAW ? "pull-raw" :
- "pull-dkr",
+ transfer_type_to_string(t->type),
"--verify",
NULL, /* verify argument */
NULL, /* maybe --force */