summaryrefslogtreecommitdiffstats
path: root/modules-available/vmstore
diff options
context:
space:
mode:
authorSimon Rettberg2016-06-09 16:07:06 +0200
committerSimon Rettberg2016-06-09 16:07:06 +0200
commit13aa6d30defcbed0f594156310e3f76de18bf31d (patch)
tree8fec809737f448c7a9d1485646d77395ae66e048 /modules-available/vmstore
parent[css] Fix z-order of warning bar (diff)
downloadslx-admin-13aa6d30defcbed0f594156310e3f76de18bf31d.tar.gz
slx-admin-13aa6d30defcbed0f594156310e3f76de18bf31d.tar.xz
slx-admin-13aa6d30defcbed0f594156310e3f76de18bf31d.zip
[install] Add/refine more module's install scripts
Diffstat (limited to 'modules-available/vmstore')
-rw-r--r--modules-available/vmstore/page.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/vmstore/page.inc.php b/modules-available/vmstore/page.inc.php
index 23b7375c..6ef04669 100644
--- a/modules-available/vmstore/page.inc.php
+++ b/modules-available/vmstore/page.inc.php
@@ -57,7 +57,9 @@ class Page_VmStore extends Page
Util::redirect('?do=VmStore');
}
$this->mountTask = Trigger::mount($vmstore);
- TaskmanagerCallback::addCallback($this->mountTask, 'manualMount', $vmstore);
+ if ($this->mountTask !== false) {
+ TaskmanagerCallback::addCallback($this->mountTask, 'manualMount', $vmstore);
+ }
}
} \ No newline at end of file