chiark / gitweb /
importd: try to minimize confusion by renaming "systemd-import" binary to "systemd...
[elogind.git] / src / import / importd.c
index a3545cd576fe856927763a4105a67779d4ba672f..40900ce36d755b4deb83332a20e8ed4320f7c9fd 100644 (file)
@@ -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);
         }