diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-12 04:56:28 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-12 04:56:28 +0000 |
commit | 55cfac0c2ce6e101f2816ff4d9449e492663afee (patch) | |
tree | 8e17f987805221914df8d611689d912c7fcb3ad8 | |
parent | d1d32f6e2632ba42ab38d5abc63b6c07c61327b8 (diff) | |
download | FreeBSD-src-55cfac0c2ce6e101f2816ff4d9449e492663afee.zip FreeBSD-src-55cfac0c2ce6e101f2816ff4d9449e492663afee.tar.gz |
Submitted by: Charles Henrich <henrich@fubar.cl.msu.edu>
Quite up man when directories in MANPATH do not exist. If you want
it to tell you about problems use man -d.
-rw-r--r-- | gnu/usr.bin/man/man/man.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c index 806f230..94840e6 100644 --- a/gnu/usr.bin/man/man/man.c +++ b/gnu/usr.bin/man/man/man.c @@ -269,11 +269,11 @@ add_dir_to_mpath_list (mp, p) status = is_directory (p); - if (status < 0) + if (status < 0 && debug) { fprintf (stderr, "Warning: couldn't stat file %s!\n", p); } - else if (status == 0) + else if (status == 0 && debug) { fprintf (stderr, "Warning: %s isn't a directory!\n", p); } |