diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-12-11 11:28:29 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-12-11 11:28:29 -0500 |
commit | f2879b58e2b8ceff1c865f17ebd53d89242e3d84 (patch) | |
tree | b1a7d6cf8f82bcb853891f298cb5abde19526e5e | |
parent | 3078519379ffcdc45811431336547d7df31a24ee (diff) | |
download | stasis-f2879b58e2b8ceff1c865f17ebd53d89242e3d84.tar.gz |
Quote destination path
-rw-r--r-- | src/lib/core/artifactory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/artifactory.c b/src/lib/core/artifactory.c index 0cd3b18..eedaf43 100644 --- a/src/lib/core/artifactory.c +++ b/src/lib/core/artifactory.c @@ -325,7 +325,7 @@ int jfrog_cli_rt_download(struct JFRT_Auth *auth, struct JFRT_Download *ctx, cha return -1; } - snprintf(cmd, sizeof(cmd) - 1, "%s '%s' %s", args, repo_path, dest ? dest : ""); + snprintf(cmd, sizeof(cmd) - 1, "%s '%s' '%s'", args, repo_path, dest ? dest : ""); guard_free(args); guard_strlist_free(&arg_map); |