summaryrefslogtreecommitdiffstats
path: root/inc/taskmanagercallback.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2016-03-21 18:16:23 +0100
committerSimon Rettberg2016-03-21 18:16:23 +0100
commitd073432983c63a7df7c5afbbd0c948a3ad2c7529 (patch)
treef29072dcedd5d3367557751954378679dad99882 /inc/taskmanagercallback.inc.php
parent[adauth] Configurable home directory mount logic (diff)
downloadslx-admin-d073432983c63a7df7c5afbbd0c948a3ad2c7529.tar.gz
slx-admin-d073432983c63a7df7c5afbbd0c948a3ad2c7529.tar.xz
slx-admin-d073432983c63a7df7c5afbbd0c948a3ad2c7529.zip
[ipxe] Add error to eventlog if compile process failed
Diffstat (limited to 'inc/taskmanagercallback.inc.php')
-rw-r--r--inc/taskmanagercallback.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/taskmanagercallback.inc.php b/inc/taskmanagercallback.inc.php
index cec763fb..efa5aacd 100644
--- a/inc/taskmanagercallback.inc.php
+++ b/inc/taskmanagercallback.inc.php
@@ -116,6 +116,13 @@ class TaskmanagerCallback
EventLog::warning("Could not generate Active Directory configuration", $task['data']['error']);
}
+ public static function cbIpxeBuilt($task)
+ {
+ if (Taskmanager::isFailed($task)) {
+ EventLog::warning("Could not recompile iPXE menu.", $task['data']['error']);
+ }
+ }
+
/**
* Generating a config module has finished.
*