diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-14 15:17:43 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-14 15:17:43 +0000 |
commit | 80aa5d3ffc30481efc86f7f29213bb4b1b446edf (patch) | |
tree | 340023fc986cd171c22690b8453dc92968a061e2 /usr.bin | |
parent | 5a721f7537fb7101c78b4c31ace17c0415dd61df (diff) |
handle some -Q cases;
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/release.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/cvs/release.c b/usr.bin/cvs/release.c index b7ba568bf30..e548522a0c1 100644 --- a/usr.bin/cvs/release.c +++ b/usr.bin/cvs/release.c @@ -1,4 +1,4 @@ -/* $OpenBSD: release.c,v 1.13 2005/07/13 14:35:17 xsa Exp $ */ +/* $OpenBSD: release.c,v 1.14 2005/07/14 15:17:42 xsa Exp $ */ /* * Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> * All rights reserved. @@ -161,8 +161,10 @@ cvs_release_dir(CVSFILE *cdir, void *arg) else { /* test if dir has CVS/ directory */ if (stat(cdpath, &st) == -1) { - cvs_log(LP_ERR, - "no repository directory: %s", dpath); + if (verbosity > 0) + cvs_log(LP_ERR, + "no repository directory: %s", + dpath); return (0); } } @@ -236,7 +238,8 @@ cvs_release_dir(CVSFILE *cdir, void *arg) } } } else { - cvs_log(LP_ERR, "no such directory: %s", dpath); + if (verbosity > 0) + cvs_log(LP_ERR, "no such directory: %s", dpath); return (CVS_EX_DATA); } |