summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmdtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdtree.c b/cmdtree.c
index a4b772b..308332b 100644
--- a/cmdtree.c
+++ b/cmdtree.c
@@ -299,7 +299,7 @@ draw_tree(Drw *drw, int x, int y, int w, int h) {
static void
cleanup(Drw *drw, int code) {
drw_free(drw);
- exit(0);
+ exit(code);
}
static void