Fix infinite loop when dedup is disabled.
This commit is contained in:
parent
010f49f412
commit
00d74e86c5
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
@ -1291,6 +1291,8 @@ main(int argc, char *argv[])
|
||||||
usage();
|
usage();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
if (!enable_rabin_scan)
|
||||||
|
enable_rabin_split = 0;
|
||||||
|
|
||||||
if (num_rem == 0 && !pipe_mode) {
|
if (num_rem == 0 && !pipe_mode) {
|
||||||
usage(); /* At least 1 filename needed. */
|
usage(); /* At least 1 filename needed. */
|
||||||
|
|
Loading…
Reference in a new issue