diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-04-21 02:03:59 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-04-21 02:03:59 +0300 |
commit | db16450bd8ef9e93cd557d75e92cba5a87c1fb73 (patch) | |
tree | d2166b2f8b019be72b928d69909e37c922442cfd /charts.d/apache.chart.sh | |
parent | 37cb08efe88d63174877ebaa1868298e862caafd (diff) |
added option -Ss to curl so that errors are logged
Diffstat (limited to 'charts.d/apache.chart.sh')
-rwxr-xr-x | charts.d/apache.chart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/apache.chart.sh b/charts.d/apache.chart.sh index 9b6d53b539..c0fd3dc30f 100755 --- a/charts.d/apache.chart.sh +++ b/charts.d/apache.chart.sh @@ -94,7 +94,7 @@ apache_detect() { apache_get() { local oIFS="${IFS}" ret - IFS=$':\n' apache_response=($(curl -s "${apache_url}")) + IFS=$':\n' apache_response=($(curl -Ss "${apache_url}")) ret=$? IFS="${oIFS}" |