diff options
author | bapt <bapt@FreeBSD.org> | 2015-06-07 19:59:01 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-06-07 19:59:01 +0000 |
commit | 302d4b4363132d1d7c08566d2a7bc7af78101d09 (patch) | |
tree | 4766cb142b779290398d9e4053a0ca4efaef58fc /usr.sbin/pw/pw.c | |
parent | c6688979243ff91c6c4816ff12594baba6c5c1ac (diff) | |
download | FreeBSD-src-302d4b4363132d1d7c08566d2a7bc7af78101d09.zip FreeBSD-src-302d4b4363132d1d7c08566d2a7bc7af78101d09.tar.gz |
Fix duplicate checking
Diffstat (limited to 'usr.sbin/pw/pw.c')
-rw-r--r-- | usr.sbin/pw/pw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c index ae030ec..a311572 100644 --- a/usr.sbin/pw/pw.c +++ b/usr.sbin/pw/pw.c @@ -269,6 +269,10 @@ main(int argc, char *argv[]) if (errstr != NULL) errx(EX_USAGE, "Bad id '%s': %s", optarg, errstr); + break; + case 'o': + conf.checkduplicate = true; + break; default: addarg(&arglist, ch, optarg); break; |