Browse Source

Better OS independance

- use /usr/bin/env to locate CURL
- chmod 755 on the plugin
Frederic G. MARAND 13 years ago
parent
commit
08ad3c973a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      plugins/munin-drupal_

+ 1 - 2
plugins/munin-drupal_

@@ -15,8 +15,7 @@
 
 SUB=$(basename $0 | sed s/drupal_/munin_/)
 
-CURL=/usr/bin/curl
-
+CURL="/usr/bin/env curl"
 
 case $1 in
   config)