From fd60cb8ca5c1d4329859c574cb144df73815da18 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 14 Nov 2006 06:09:18 +0000 Subject: [PATCH] No FAIstate when doing a wakeup git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5094 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 9620d0592..507fbb452 100644 --- a/plugins/admin/systems/class_workstationGeneric.inc +++ b/plugins/admin/systems/class_workstationGeneric.inc @@ -142,7 +142,7 @@ class workgeneric extends plugin exec ($cmd." ".$this->netConfigDNS->macAddress." ".escapeshellarg($_POST['saction']), $dummy, $retval); if ($retval != 0){ print_red(sprintf(_("Execution of '%s' failed!"), $cmd)); - } else { + } elseif ($_POST['saction'] != "wake") { /* Set FAIstate */ $ldap = $this->config->get_ldap_link(); -- 2.30.2