From aa9bd4992ff0240f6ceecb70ec364d5d9c7574f4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 22 Jan 2015 17:38:10 +0100 Subject: import: now that the worker binary is called "systemd-pull" we can shorten the verbs Atfer all "systemd-pull pull-tar" is unnecessarily redundant, over "systemd-pull tar"... --- src/import/importd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/import/importd.c') 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 */ -- cgit v1.2.3-54-g00ecf