Skip to content

Commit 8945b60

Browse files
author
Till Brehm
committed
Update openvz_plugin.inc.php
1 parent 1edf68e commit 8945b60

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)