summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-22 17:34:54 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-22 17:50:50 +0100
commitff828763c40cd138658abf9ed7a19da73c92dec1 (patch)
tree93737472d9828daa1904341d25f841f785c00fed /src
parent6adf7b5e46d32376868feef0197e6ada352aa6f2 (diff)
importd: try to minimize confusion by renaming "systemd-import" binary to "systemd-pull"
This way "systemd-importd" is the daemon that uses "systemd-pull" as backend worker.
Diffstat (limited to 'src')
-rw-r--r--src/import/importd.c4
-rw-r--r--src/import/pull.c (renamed from src/import/import.c)0
2 files changed, 2 insertions, 2 deletions
diff --git a/src/import/importd.c b/src/import/importd.c
index a3545cd576..40900ce36d 100644
--- a/src/import/importd.c
+++ b/src/import/importd.c
@@ -342,7 +342,7 @@ static int transfer_start(Transfer *t) {
return -errno;
if (t->pid == 0) {
const char *cmd[] = {
- "systemd-import",
+ "systemd-pull",
t->type == TRANSFER_TAR ? "pull-tar" :
t->type == TRANSFER_RAW ? "pull-raw" :
"pull-dkr",
@@ -413,7 +413,7 @@ static int transfer_start(Transfer *t) {
cmd[k++] = t->local;
cmd[k] = NULL;
- execv(SYSTEMD_IMPORT_PATH, (char * const *) cmd);
+ execv(SYSTEMD_PULL_PATH, (char * const *) cmd);
log_error_errno(errno, "Failed to execute import tool: %m");
_exit(EXIT_FAILURE);
}
diff --git a/src/import/import.c b/src/import/pull.c
index 9bd8b77477..9bd8b77477 100644
--- a/src/import/import.c
+++ b/src/import/pull.c