[Swift-commit] r2794 - trunk/libexec/log-processing
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Tue Mar 31 21:46:26 CDT 2009
Author: benc
Date: 2009-03-31 21:46:26 -0500 (Tue, 31 Mar 2009)
New Revision: 2794
Modified:
trunk/libexec/log-processing/kickstarts-to-event
Log:
Make kickstarts-to-event exit more gracefully in the absence of a kickstart
directory.
Modified: trunk/libexec/log-processing/kickstarts-to-event
===================================================================
--- trunk/libexec/log-processing/kickstarts-to-event 2009-04-01 01:26:56 UTC (rev 2793)
+++ trunk/libexec/log-processing/kickstarts-to-event 2009-04-01 02:46:26 UTC (rev 2794)
@@ -1,5 +1,10 @@
#!/bin/bash
+if [ "$KDIR" == "" ]; then
+ echo No kickstart record directory defined in environment variable KDIR - exiting
+ exit 0
+fi
+
while read t d id rest; do
record=$(find ${KDIR} -name ${id}-kickstart.xml)
More information about the Swift-commit
mailing list