]> git.ipfire.org Git - thirdparty/sarg.git/commit - util.c
Don't abort for an empty report directory
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Fri, 25 Feb 2011 20:32:09 +0000 (20:32 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Fri, 25 Feb 2011 20:32:09 +0000 (20:32 +0000)
commit15d3cb5c87454a3bce9cca6889aa5aa9690d9842
tree0be0877fdebcafc3b6761c22a46a9842f8b1d751
parent059f2ad2ceeeb80529dfd4a992b3ddde1220819e
Don't abort for an empty report directory

If sarg fails and leaves an empty report directory, one without a
sarg-date file in it, any subsequent execution of sarg will fail due to
that empty report directory.

This change ignores such an empty directory and issue a simple warning.
documentation/util.txt
include/defs.h
index.c
util.c