Fix infinite loop when dedup is disabled.

This commit is contained in:
Moinak Ghosh 2012-07-08 22:31:09 +05:30
parent 010f49f412
commit 00d74e86c5

2
main.c
View file

@ -1291,6 +1291,8 @@ main(int argc, char *argv[])
usage();
exit(1);
}
if (!enable_rabin_scan)
enable_rabin_split = 0;
if (num_rem == 0 && !pipe_mode) {
usage(); /* At least 1 filename needed. */