diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-13 09:07:38 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-13 09:07:38 +0000 |
commit | 2990b453a633642ce13cb3693b7ceb66982b3310 (patch) | |
tree | 4e07f730c6f4fd4e5a0cb4d5554ac92d8f58f08e /pw/pw.c | |
parent | c1e7bb989dbd01e5ed534b0db64aa19b97f2262c (diff) | |
download | pw-darwin-2990b453a633642ce13cb3693b7ceb66982b3310.tar.gz pw-darwin-2990b453a633642ce13cb3693b7ceb66982b3310.tar.zst pw-darwin-2990b453a633642ce13cb3693b7ceb66982b3310.zip |
Fix logic of check duplicates that has been inverted
Diffstat (limited to 'pw/pw.c')
-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; |