recollindex -i/e would dump core if file list was empty
This commit is contained in:
parent
7d9560f5c2
commit
007f0b06c1
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ int main(int argc, char **argv)
|
||||||
status = indexfiles(config, filenames);
|
status = indexfiles(config, filenames);
|
||||||
else
|
else
|
||||||
status = purgefiles(config, filenames);
|
status = purgefiles(config, filenames);
|
||||||
if (!confindexer->getReason().empty())
|
if (confindexer && !confindexer->getReason().empty())
|
||||||
cerr << confindexer->getReason() << endl;
|
cerr << confindexer->getReason() << endl;
|
||||||
exit(status ? 0 : 1);
|
exit(status ? 0 : 1);
|
||||||
} else if (op_flags & OPT_l) {
|
} else if (op_flags & OPT_l) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue