]> git.ipfire.org Git - thirdparty/sarg.git/commit
Don't try to produce the users's report if indexonly is set
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Thu, 27 Jan 2011 15:27:01 +0000 (15:27 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Thu, 27 Jan 2011 15:27:01 +0000 (15:27 +0000)
commit01c698c958d339cfbc444d2d5f42f51f83275f2c
tree47a1f01805e03144aaf5bdc6e62e5da5231dc998
parent6588b1372885d667b40e0af155342bf46b42e2fa
Don't try to produce the users's report if indexonly is set

The creation of the users's report was failing when indexonly was set
because the list of the users to process is taken from memory instead
of collecting it from the files in the output directory.

As no temporary file is created when indexonly is set, the output
directory is empty but as the users's name are still stored in memory,
sarg tried to read the non existant file and aborted.
report.c