Skip to content

Commit 5b54400

Browse files
author
Marius Burkard
committed
Merge branch '6045-syntax-error-in-openvz-module' into 'develop'
Resolve "Syntax Error in OpenVZ module" Closes #6045 See merge request ispconfig/ispconfig3!1403
2 parents 1edf68e + 8945b60 commit 5b54400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/openvz_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function vm_update($event_name, $data) {
123123

124124
//* new diskspace for ploop-containers requieres "vzctl set"
125125
if($data['new']['diskspace'] != $data['old']['diskspace']) {
126-
escapeshell("vzctl set ? --diskspace ? --save", $veid, $data['new']['diskspace']."G");
126+
$app->system->exec_safe("vzctl set ? --diskspace ? --save", $veid, $data['new']['diskspace']."G");
127127
}
128128

129129
//* Apply config changes to the VM

0 commit comments

Comments
 (0)