Fix the -m option - broken by the last commit.

Submitted by:	Mark Knight <markk@knigma.org>
This commit is contained in:
Brian Somers 2000-08-25 18:28:43 +00:00
parent fce618cca3
commit 475f25ebaf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65082

View File

@ -325,7 +325,7 @@ userlist(argc, argv)
*/
if (mflag)
for (p = argv; *p; ++p) {
if (**p == '/' && !show_text("", *p, "")) {
if (**p != '/' || !show_text("", *p, "")) {
if (((pw = getpwnam(*p)) != NULL) && !hide(pw))
enter_person(pw);
else