commit cda67fed1dee21f57f5b2d1741d40b8092b332a3 parent 7b58e2d992818de8248a108fadd88b1c37d0cfdb Author: William Casarin <jb55@jb55.com> Date: Wed, 17 Oct 2018 10:05:15 -0700 properly propagate exit code Diffstat:
M | cmdtree.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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