svn commit: r201775 - projects/stress2
Peter Holm
pho at FreeBSD.org
Fri Jan 8 09:31:19 UTC 2010
Author: pho
Date: Fri Jan 8 09:31:18 2010
New Revision: 201775
URL: http://svn.freebsd.org/changeset/base/201775
Log:
Fix for hostname not set. Fix style while here.
Reported by: jeff
Modified:
projects/stress2/default.cfg
Modified: projects/stress2/default.cfg
==============================================================================
--- projects/stress2/default.cfg Fri Jan 8 09:16:37 2010 (r201774)
+++ projects/stress2/default.cfg Fri Jan 8 09:31:18 2010 (r201775)
@@ -72,5 +72,5 @@ dede () { # file, blocksize, coun
return $status
}
-[ -r "./`hostname`" ] && . "./`hostname`" # source in local configuration
-[ -r "../`hostname`" ] && . "../`hostname`" # source in local configuration
+[ -f " ./`hostname`" ] && . " ./`hostname`" # source in local configuration
+[ -f "../`hostname`" ] && . "../`hostname`" # source in local configuration
More information about the svn-src-projects
mailing list