support any number of --append=<file> options

If one or more append files are given on the command line,
they are simply concatenated.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2011-11-12 17:07:46 +01:00
parent 785bc3d04b
commit 00ead7fb2e
1 changed files with 0 additions and 1 deletions

View File

@ -121,7 +121,6 @@ bool Settings::isEnabled(const std::string &str) const
bool Settings::append(const std::string &filename) bool Settings::append(const std::string &filename)
{ {
_append = "\n";
std::ifstream fin(filename.c_str()); std::ifstream fin(filename.c_str());
if (!fin.is_open()) { if (!fin.is_open()) {
return false; return false;