File: 02018-06-08T11%3A47%3A49-03%3A00~6966fc8.patch

package info (click to toggle)
netperf 2.7.0-0.1
  • links: PTS
  • area: non-free
  • in suites: bookworm, bullseye
  • size: 8,840 kB
  • sloc: ansic: 41,631; sh: 5,259; xml: 3,129; python: 2,376; awk: 68; makefile: 66
file content (21 lines) | stat: -rw-r--r-- 686 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: netserver: suppress debug log by default
 The file is hardly used
 and now that it is being saved on /var/log by default,
 netserver may fail to start as a normal user.
 .
 So simply suppress it by default.
 One can enable it again
 just by issuing at least one '-d' command line option.
Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Origin: upstream, https://github.com/HewlettPackard/netperf/commit/6966fc8
--- a/src/netserver.c
+++ b/src/netserver.c
@@ -204,7 +204,7 @@
 int      not_inetd;
 int      want_daemonize;
 int      spawn_on_accept;
-int      suppress_debug = 0;
+int      suppress_debug = 1;
 
 extern	char	*optarg;
 extern	int	optind, opterr;