[Swift-commit] r3198 - trunk/libexec
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Thu Dec 17 13:16:04 CST 2009
Author: wozniak
Date: 2009-12-17 13:16:03 -0600 (Thu, 17 Dec 2009)
New Revision: 3198
Modified:
trunk/libexec/scheduler.xml
Log:
Crash if user-supplied file does not exist.
Modified: trunk/libexec/scheduler.xml
===================================================================
--- trunk/libexec/scheduler.xml 2009-12-17 01:38:41 UTC (rev 3197)
+++ trunk/libexec/scheduler.xml 2009-12-17 19:16:03 UTC (rev 3198)
@@ -21,6 +21,15 @@
</set>
<log level="info"><string>Using sites file: {sites}</string></log>
+ <if><not><file:exists name="{sites}"/>
+ </not>
+ <then>
+ <generateError>
+ <argument name="exception">
+ Could not find sites file: {sites}
+ </argument></generateError></then>
+ </if>
+
<log level="info"><string>Using tc.data: {tcfile}</string></log>
<scheduler type="vds-adaptive" shareID="vdl2:scheduler:{sites}">
More information about the Swift-commit
mailing list