diff options
Diffstat (limited to 'src/cmd_create.c')
| -rw-r--r-- | src/cmd_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_create.c b/src/cmd_create.c index a68fcb7..9b5742f 100644 --- a/src/cmd_create.c +++ b/src/cmd_create.c @@ -27,7 +27,7 @@ int dbx_create(struct dbx_engine *engine, struct dbx_options const *options) { } char tmp[PATH_MAX]; - if (dbx_fpath(tmp, "%s:/tmp/post-install", options->name) < 0 || + if (dbx_formatpath(tmp, "%s:/tmp/post-install", options->name) || !dbx_ssh_config(options->name, hostname, sshd_port) || !dbx_ssh_cp(options->name, options->post_install, tmp) || !dbx_ssh_sys(options->name, |
