summaryrefslogtreecommitdiffstats
path: root/charts.d/crsproxy.chart.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xcharts.d/crsproxy.chart.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/charts.d/crsproxy.chart.sh b/charts.d/crsproxy.chart.sh
index fc5358b43..9ad8b3382 100755
--- a/charts.d/crsproxy.chart.sh
+++ b/charts.d/crsproxy.chart.sh
@@ -16,6 +16,9 @@ crsproxy_get() {
}
crsproxy_check() {
+ # make sure we have all the commands we need
+ require_cmd wget || return 1
+
if [ -z "$crsproxy_url" ]
then
echo >&2 "$PROGRAM_NAME: crsproxy: not configured. Please set crsproxy_url='url' in $confd/crsproxy.conf"