]> TLD Linux GIT Repositories - packages/zabbix.git/commitdiff
- change default value of run in foreground to false
authorMarcin Krol <hawk@tld-linux.org>
Thu, 20 Jul 2023 15:05:09 +0000 (17:05 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 20 Jul 2023 15:05:09 +0000 (17:05 +0200)
agent2.patch [new file with mode: 0644]

diff --git a/agent2.patch b/agent2.patch
new file mode 100644 (file)
index 0000000..e29ab11
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur zabbix-6.0.19.orig/src/go/cmd/zabbix_agent2/zabbix_agent2.go zabbix-6.0.19/src/go/cmd/zabbix_agent2/zabbix_agent2.go
+--- zabbix-6.0.19.orig/src/go/cmd/zabbix_agent2/zabbix_agent2.go       2023-06-27 09:11:01.000000000 +0200
++++ zabbix-6.0.19/src/go/cmd/zabbix_agent2/zabbix_agent2.go    2023-07-20 14:41:48.877278056 +0200
+@@ -220,7 +220,7 @@
+       var foregroundFlag bool
+       const (
+-              foregroundDefault     = true
++              foregroundDefault     = false
+               foregroundDescription = "Run Zabbix agent in foreground"
+       )
+       flag.BoolVar(&foregroundFlag, "foreground", foregroundDefault, foregroundDescription)