diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index fde3a960b2..0fda829612 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2012-10-09 Sancho Lerena + + * util/plugin/mysql_plugin.sh: Fixed problem on composed + name variables. + 2012-10-08 Vanessa Gil * util/tool_api.pl: Added: validate events using API. diff --git a/pandora_server/util/plugin/mysql_plugin.sh b/pandora_server/util/plugin/mysql_plugin.sh index 418e94e78e..bb62fceaf8 100755 --- a/pandora_server/util/plugin/mysql_plugin.sh +++ b/pandora_server/util/plugin/mysql_plugin.sh @@ -62,6 +62,6 @@ done # Execution -echo "show global status" | mysql -u $USER -p$PASSWORD -h$SERVER | grep "$QUERY" | awk '{ print $2 }' +echo "show global status" | mysql -u $USER -p$PASSWORD -h$SERVER | grep "$QUERY" | head -1 | awk '{ print $2 }'