diff options
-rw-r--r-- | tools/mail-scan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mail-scan.c b/tools/mail-scan.c index 5378e89..058caed 100644 --- a/tools/mail-scan.c +++ b/tools/mail-scan.c @@ -245,7 +245,8 @@ int main(int _argc, const char** _argv){ infile.open(file->c_str()); if (!infile.good()) { cerr << "Failed to open file: " << *file << endl; - exit(1); + // missing file is non-fatal; go on to next file + continue; } int inheads(1); string boundary("x-xx-x"); |