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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user