recollindex -i/e would dump core if file list was empty
This commit is contained in:
parent
1c68dc6ddd
commit
cf96f69ee8
@ -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…
x
Reference in New Issue
Block a user