File: fix-quietly-run-of-cron-job.patch

package info (click to toggle)
awffull 3.10.2-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,300 kB
  • sloc: ansic: 10,355; sh: 4,587; xml: 2,198; perl: 271; makefile: 40; sed: 16
file content (19 lines) | stat: -rw-r--r-- 731 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix quietly run of cron job
 awffull cron job does not run quietly because "-Q" option has been deprecated.
 This patch disables useless output messages when job is run without any verbose
 options.
Bug-Debian: http://bugs.debian.org/665680
Author: Taku YASUI <tach@debian.org>
Last-Update: 2012-06-29

--- a/src/output.c.orig
+++ b/src/output.c
@@ -3386,7 +3386,7 @@
                  buffer,                        /* graph title       */
                  index_start, g_settings.settings.history_index + 1);
 
-    ERRVPRINT(0, "Graph Done!\n");
+    ERRVPRINT(VERBOSE1, "Graph Done!\n");
     /* now do html stuff... */
     snprintf(index_fname, sizeof(index_fname), "index.%s", g_settings.settings.html_ext);