aboutsummaryrefslogtreecommitdiff
path: root/src/docker.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-03-10 15:13:15 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-03-10 15:13:15 -0400
commit4250d9bcfcf9dbc95418c64932ad39f71ff2019e (patch)
treea50b979c8817af4017e595928da6dc4524b37d40 /src/docker.c
parented3f041df1d891b188fabfc055547c076ce6e85e (diff)
downloadstasis-4250d9bcfcf9dbc95418c64932ad39f71ff2019e.tar.gz
Use do/while in guard_* macros to make them behave more like functions
Diffstat (limited to 'src/docker.c')
-rw-r--r--src/docker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docker.c b/src/docker.c
index 955428b..32413aa 100644
--- a/src/docker.c
+++ b/src/docker.c
@@ -151,7 +151,7 @@ int docker_capable(struct DockerCapabilities *result) {
if (version && startswith(version, "podman")) {
result->podman = true;
}
- guard_free(version)
+ guard_free(version);
if (!docker_exec("buildx build --help", OMC_DOCKER_QUIET)) {
result->build |= OMC_DOCKER_BUILD;