Package: rsync
Version: 3.1.2-2
Severity: normal

rsync can disable specific messages on request.

--info=skip0 disables all but one "skip" message:
| skipping non-regular file "dists/buster/main/Contents-amd64.gz"

This patch should fix the problem, it is not build-tested.

--- a/generator.c
+++ b/generator.c
@@ -1651,9 +1651,11 @@
        }
 
        if (!S_ISREG(file->mode)) {
-               if (solo_file)
-                       fname = f_name(file, NULL);
-               rprintf(FINFO, "skipping non-regular file \"%s\"\n", fname);
+               if (INFO_GTE(SKIP, 1)) {
+                       if (solo_file)
+                               fname = f_name(file, NULL);
+                       rprintf(FINFO, "skipping non-regular file \"%s\"\n", 
fname);
+               }
                goto cleanup;
        }

Bastian

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rsync depends on:
ii  base-files           10
ii  init-system-helpers  1.48
ii  libacl1              2.2.52-3+b1
ii  libattr1             1:2.4.47-2+b2
ii  libc6                2.24-12
ii  libpopt0             1.16-10+b2
ii  lsb-base             9.20161125

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client  1:7.5p1-5
ii  openssh-server  1:7.5p1-5

-- no debconf information

Reply via email to