From d52fee945bb0076b45b371ce74fccf80bceded07 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 29 Nov 2005 10:08:49 +0000 Subject: [PATCH] Fixed action cmd to use corrext Post git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2122 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc index eb1e4a600..2e4570a6f 100644 --- a/plugins/admin/systems/class_workstationGeneric.inc +++ b/plugins/admin/systems/class_workstationGeneric.inc @@ -97,7 +97,7 @@ class workgeneric extends plugin if ($cmd == ""){ print_red(_("No ACTIONCMD definition found in your gosa.conf")); } else { - exec ($cmd." ".$this->macAddress." ".escapeshellarg($_POST['action']), $dummy, $retval); + exec ($cmd." ".$this->macAddress." ".escapeshellarg($_POST['saction']), $dummy, $retval); if ($retval != 0){ print_red(sprintf(_("Execution of '%s' failed!"), $cmd)); } -- 2.30.2