summaryrefslogtreecommitdiffstats
path: root/pw/pw_user.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-07 19:39:06 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-07 19:39:06 +0000
commite3bd6749869f3f1649662b39609bbea8d2141354 (patch)
tree3083c82ad217a096b693c72d6da34fb8f9140995 /pw/pw_user.c
parent34211cbde959d55fb8e6b818365341d0193e7253 (diff)
downloadpw-darwin-e3bd6749869f3f1649662b39609bbea8d2141354.tar.gz
pw-darwin-e3bd6749869f3f1649662b39609bbea8d2141354.tar.zst
pw-darwin-e3bd6749869f3f1649662b39609bbea8d2141354.zip
Remove uneeded code (already done by pw_make_v7)
Diffstat (limited to 'pw/pw_user.c')
-rw-r--r--pw/pw_user.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c
index 6b3a266..99d8129 100644
--- a/pw/pw_user.c
+++ b/pw/pw_user.c
@@ -1143,9 +1143,6 @@ print_user(struct passwd * pwd)
if (!conf.pretty) {
char *buf;
- if (!conf.v7)
- pwd->pw_passwd = (pwd->pw_passwd == NULL) ? "" : "*";
-
buf = conf.v7 ? pw_make_v7(pwd) : pw_make(pwd);
printf("%s\n", buf);
free(buf);