diff options
author | David Dykstra <dwd@samba.org> | 1999-02-09 17:25:35 +0000 |
---|---|---|
committer | David Dykstra <dwd@samba.org> | 1999-02-09 17:25:35 +0000 |
commit | b86f0cefa23fff464bb68f53b76523cf8ce26436 (patch) | |
tree | 166c8599bf97f9e66be032d48db398816b3cfac1 /log.c | |
parent | c226b7c2fdd6cc4357337514b22c3042195ab091 (diff) | |
download | rsync-b86f0cefa23fff464bb68f53b76523cf8ce26436.tar.gz |
Add --quiet/-q option. Contributed by Rich Salz salzr@certco.com.
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -87,8 +87,11 @@ void log_open(void) int len; FILE *f=NULL; extern int am_daemon; + extern int quiet; /* recursion can happen with certain fatal conditions */ + if (quiet != 0 && fd == FINFO) return; + va_start(ap, format); len = vslprintf(buf, sizeof(buf), format, ap); va_end(ap); |