diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-12-16 07:50:21 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-12-16 07:50:21 +0000 |
commit | 32c710c9f3b95a3b32e462fd9032ffd96de82957 (patch) | |
tree | 3f569c9a701a57e504e0f9b2be0115e5c1d3836a /lib/sbin/CST | |
parent | bda541f2465510eb9bb5df3d2034a7bd7a80b141 (diff) |
Report errors in CST at end of script
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1193 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CST')
-rw-r--r-- | lib/sbin/CST | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sbin/CST b/lib/sbin/CST index d56ba7fa..b04e3cf1 100644 --- a/lib/sbin/CST +++ b/lib/sbin/CST @@ -6,7 +6,7 @@ # @desc # Parses the the configuration files for thorns. # @enddesc -# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/sbin/CST,v 1.34 1999-11-06 10:40:42 allen Exp $ +# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/sbin/CST,v 1.35 1999-12-16 07:50:21 allen Exp $ #@@*/ # Global parameter to track the number of errors from the CST @@ -14,6 +14,7 @@ # is zero. $CST_errors = 0; +$error_string = ""; ########################################################################## # Parse the command line @@ -162,6 +163,7 @@ if ($CST_errors) print "There $comment1 during execution of the CST\n"; print "$comment2 must be corrected before compilation can proceed\n"; print "------------------------------------------------------\n\n"; + &CST_PrintErrors; exit(1); } |