Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | Index: git/plugins.d/charts.d.plugin |
| 2 | =================================================================== |
| 3 | --- git.orig/plugins.d/charts.d.plugin |
| 4 | +++ git/plugins.d/charts.d.plugin |
| 5 | @@ -246,16 +246,6 @@ else |
| 6 | info "configuration file '$myconfig' not found. Using defaults." |
| 7 | fi |
| 8 | |
| 9 | -# we check for the timeout command, after we load our |
| 10 | -# configuration, so that the user may overwrite the |
| 11 | -# timeout command we use, providing a function that |
| 12 | -# can emulate the timeout command we need: |
| 13 | -# > timeout SECONDS command ... |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 14 | -if [ $check_for_timeout -eq 1 ] |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | - then |
| 16 | - require_cmd timeout || exit 1 |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 17 | -fi |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | - |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 19 | # ----------------------------------------------------------------------------- |
| 20 | # internal checks |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 21 | |