From faa960ef844eae33c6b9f815d8c0798c638ad1da Mon Sep 17 00:00:00 2001
From: ramonn <noreply@pandorafms.org>
Date: Thu, 13 May 2010 16:54:31 +0000
Subject: [PATCH] 2010-05-13  Ramon Novoa  <rnovoa@artica.es>

	* pandora_agent: Disabled the plugin command check. Was not working.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_agents/unix/ChangeLog     | 4 ++++
 pandora_agents/unix/pandora_agent | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pandora_agents/unix/ChangeLog b/pandora_agents/unix/ChangeLog
index f95b755f40..6bcba3ab5b 100644
--- a/pandora_agents/unix/ChangeLog
+++ b/pandora_agents/unix/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-13  Ramon Novoa  <rnovoa@artica.es>
+
+	* pandora_agent: Disabled the plugin command check. Was not working.
+
 2010-04-29 Sancho Lerena <slerena@artica.es>
 
 	* pandora_agent_installer: Added darwin (snow leopard), and BSD to
diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent
index 664ea8fcf3..f497f2e96a 100755
--- a/pandora_agents/unix/pandora_agent
+++ b/pandora_agents/unix/pandora_agent
@@ -605,8 +605,6 @@ while (1) {
 	# Execute plugins
 	foreach my $plugin (@Plugins) {
 
-		# Verify that the plugin exists and execute it
-		next unless (-x '$ConfDir/plugins/$plugin');
 		my $output = `$ConfDir/plugins/$plugin`;
 
 		# Do not save the output if there was an error