aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-Timeout-issue.patch
blob: abea0d66bd557b3351b74d86903fb39009bfe462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: git/plugins.d/charts.d.plugin
===================================================================
--- git.orig/plugins.d/charts.d.plugin
+++ git/plugins.d/charts.d.plugin
@@ -246,16 +246,6 @@ else
     info "configuration file '$myconfig' not found. Using defaults."
 fi
 
-# we check for the timeout command, after we load our
-# configuration, so that the user may overwrite the
-# timeout command we use, providing a function that
-# can emulate the timeout command we need:
-# > timeout SECONDS command ...
-if [ $check_for_timeout -eq 1 ]
-    then
-    require_cmd timeout || exit 1
-fi
-
 # -----------------------------------------------------------------------------
 # internal checks