Merge pull request #558 from grooverdan/jailreader-logpath-head-default

BF: default for logpath is head. "false" is not valid
pull/546/merge
Steven Hiscocks 2014-01-04 08:59:02 -08:00
commit c5a5f9da76
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class JailReader(ConfigReader):
found_files = 0
for path in self.__opts[opt].split("\n"):
path = path.rsplit(" ", 1)
path, tail = path if len(path) > 1 else (path[0], "false")
path, tail = path if len(path) > 1 else (path[0], "head")
pathList = JailReader._glob(path)
if len(pathList) == 0:
logSys.error("No file(s) found for glob %s" % path)