diff options
author | 2015-07-13 09:07:38 +0000 | |
---|---|---|
committer | 2015-07-13 09:07:38 +0000 | |
commit | 1e6401def38868bd9621db64c744d1788b51170d (patch) | |
tree | c9c1f158e4d20ee067b29cd6d68a548c20527c2a | |
parent | 2d773bd7573e856c732b3fc1b827b288ea3beebf (diff) | |
download | pw-darwin-1e6401def38868bd9621db64c744d1788b51170d.tar.gz pw-darwin-1e6401def38868bd9621db64c744d1788b51170d.tar.zst pw-darwin-1e6401def38868bd9621db64c744d1788b51170d.zip |
Fix logic of check duplicates that has been inverted
-rw-r--r-- | pw/pw.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |