Chmouel Boudjnah
2005-Apr-28 23:16 UTC
Skipping-non-regular-file message only when verbose
Hello,
Is it possible to apply this patch :
--- generator.c~ 2005-04-29 08:55:43.000000000 +1000
+++ generator.c 2005-04-29 08:55:39.000000000 +1000
@@ -831,8 +831,9 @@
return;
if (!S_ISREG(file->mode)) {
- rprintf(FINFO, "skipping non-regular file
\"%s\"\n",
- safe_fname(fname));
+ if (verbose > 1)
+ rprintf(FINFO, "skipping non-regular file
\"%s\"\n",
+ safe_fname(fname));
return;
}
To only print the skipping non-regular file message when verbose > 1.
Cheers, Chmouel
--
Chmouel Boudjnah -- Squiz.net -- http://www.squiz.net/