about summary refs log tree commit diff
path: root/boot/catboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/catboot.c')
-rw-r--r--boot/catboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/catboot.c b/boot/catboot.c
index fe879a1..8fdad41 100644
--- a/boot/catboot.c
+++ b/boot/catboot.c
@@ -133,7 +133,7 @@ debug_lower_pass(struct Source_File source_file)
     lower_tree(&tree, source_file, &unit);
     printer(&unit);
 
-    return 0;
+    return unit.had_error ? 1 : 0;
 }
 
 integer