diff options
author | brian <brian@FreeBSD.org> | 2000-08-25 18:28:43 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-08-25 18:28:43 +0000 |
commit | 7a9c69eba5e3d9748ea8b1cc44013d245e7d2a0f (patch) | |
tree | e077de95d8d9f96663e3d2adad1328ef556c50dd /usr.bin/finger | |
parent | 2f89ea92fc78ca35267e2e9a0c566c1fe1ddb71f (diff) | |
download | FreeBSD-src-7a9c69eba5e3d9748ea8b1cc44013d245e7d2a0f.zip FreeBSD-src-7a9c69eba5e3d9748ea8b1cc44013d245e7d2a0f.tar.gz |
Fix the -m option - broken by the last commit.
Submitted by: Mark Knight <markk@knigma.org>
Diffstat (limited to 'usr.bin/finger')
-rw-r--r-- | usr.bin/finger/finger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c index ff9dd3c..18ca287 100644 --- a/usr.bin/finger/finger.c +++ b/usr.bin/finger/finger.c @@ -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 |