]> arthur.barton.de Git - netdata.git/commitdiff
added check for wget #127
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 1 Apr 2016 23:27:09 +0000 (02:27 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 1 Apr 2016 23:27:09 +0000 (02:27 +0300)
charts.d/crsproxy.chart.sh

index fc5358b436a593b887b86359fcc1d0b659ed5eb1..9ad8b3382d6ced45058d8b214484ccec3eef7f65 100755 (executable)
@@ -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"