Fix logic of check duplicates that has been inverted

This commit is contained in:
Baptiste Daroussin 2015-07-13 09:07:38 +00:00
parent b712101cf7
commit a46045bbfa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285440

View File

@ -139,6 +139,7 @@ main(int argc, char *argv[])
strlcpy(conf.rootdir, "/", sizeof(conf.rootdir));
strlcpy(conf.etcpath, _PATH_PWD, sizeof(conf.etcpath));
conf.fd = -1;
conf.checkduplicate = false;
LIST_INIT(&arglist);
@ -325,7 +326,7 @@ main(int argc, char *argv[])
"descriptor or '-'");
break;
case 'o':
conf.checkduplicate = true;
conf.checkduplicate = false;
break;
case 'q':
conf.quiet = true;