summary refs log tree commit diff
path: root/minic
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-11-24 22:13:44 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-11-24 22:13:44 -0500
commitbe1f7cbf23a11977bcf8f18dd7fa0c4fb52f336a (patch)
treecf1df1f20dd763097527b2105a65e7ca40ed6734 /minic
parentf54da035bc368eb593e671902bf67893a07d173b (diff)
downloadroux-be1f7cbf23a11977bcf8f18dd7fa0c4fb52f336a.tar.gz
signal error for failed compilations
Diffstat (limited to 'minic')
-rwxr-xr-xminic/mcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/minic/mcc b/minic/mcc
index dd662f1..f54545e 100755
--- a/minic/mcc
+++ b/minic/mcc
@@ -35,6 +35,7 @@ cc $flags /tmp/minic.s
 if test $? -ne 0
 then
 	echo "error processing file $file" >&2
+	exit 1
 fi