Remove uneeded code (already done by pw_make_v7)

This commit is contained in:
Baptiste Daroussin 2015-06-07 19:39:06 +00:00
parent bae068d22e
commit c40bbdb4af
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284130

View File

@ -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);