aboutsummaryrefslogtreecommitdiff
path: root/src/system.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/system.c
parented3f041df1d891b188fabfc055547c076ce6e85e (diff)
downloadstasis-4250d9bcfcf9dbc95418c64932ad39f71ff2019e.tar.gz
Use do/while in guard_* macros to make them behave more like functions
Diffstat (limited to 'src/system.c')
-rw-r--r--src/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c
index 17b9a13..43236a1 100644
--- a/src/system.c
+++ b/src/system.c
@@ -93,7 +93,7 @@ int shell(struct Process *proc, char *args) {
proc->returncode = status;
}
- guard_free(t_name)
+ guard_free(t_name);
return WEXITSTATUS(status);
}