trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1078903 - /trafficserver/site/branches/ats-cms/lib/view.pm
Date Mon, 07 Mar 2011 19:27:32 GMT
Author: amc
Date: Mon Mar  7 19:27:31 2011
New Revision: 1078903

URL: http://svn.apache.org/viewvc?rev=1078903&view=rev
Log:
Added sanity check

Modified:
    trafficserver/site/branches/ats-cms/lib/view.pm

Modified: trafficserver/site/branches/ats-cms/lib/view.pm
URL: http://svn.apache.org/viewvc/trafficserver/site/branches/ats-cms/lib/view.pm?rev=1078903&r1=1078902&r2=1078903&view=diff
==============================================================================
--- trafficserver/site/branches/ats-cms/lib/view.pm (original)
+++ trafficserver/site/branches/ats-cms/lib/view.pm Mon Mar  7 19:27:31 2011
@@ -56,6 +56,7 @@ sub single_narrative {
     while (@dirs and not -r File::Spec->catfile($var_path, TOP_MARKER_FILE)) {
 	$var_path = File::Spec->catdir($var_path, shift @dirs);
     }
+    warn "Failed to find base directory marker file from $file.\n" if not @dirs;
     # Now start reading var files.
     while (@dirs) {
 	my $var_file = File::Spec->catfile($var_path, VAR_FILE);



Mime
View raw message