aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-01-29 12:46:18 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-01-29 12:46:18 -0500
commitc8102f38fdf60b9d2bb9b2eb3fc36c404428116c (patch)
treefc986e2304a09cdcc2f6fe67c86330dfa5b75d09
parentd63dd579848723b5508cf379d65956c125644f3b (diff)
downloadstasis-c8102f38fdf60b9d2bb9b2eb3fc36c404428116c.tar.gz
Use shell() in place of shell2()
* Remove errant semi-colon from macro call
-rw-r--r--src/artifactory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/artifactory.c b/src/artifactory.c
index 48bc943..e883d26 100644
--- a/src/artifactory.c
+++ b/src/artifactory.c
@@ -199,7 +199,7 @@ int jfrog_cli(struct JFRT_Auth *auth, char *args) {
strcpy(proc.stdout, "/dev/null");
strcpy(proc.stderr, "/dev/null");
}
- status = shell2(&proc, cmd);
+ status = shell(&proc, cmd);
return status;
}
@@ -368,7 +368,7 @@ int jfrog_cli_rt_upload(struct JFRT_Auth *auth, struct JFRT_Upload *ctx, char *s
}
}
base = join(&components->data[max_components], "/");
- guard_free(components->data[max_components]);
+ guard_free(components->data[max_components])
new_src = join(components->data, "/");
}