mirror of
https://github.com/unraid/webgui.git
synced 2026-01-15 14:09:54 -06:00
Update VFIO: fix regression errors
This commit is contained in:
@@ -22,7 +22,7 @@ $new = _var($_GET,'cfg');
|
||||
|
||||
$reply = 0;
|
||||
if ($new && $new != $old) {
|
||||
rename($vfio, "$vfio.bak");
|
||||
copy($vfio, "$vfio.bak");
|
||||
$reply = file_put_contents($vfio, $new)!==false ? 1 : 0;
|
||||
}
|
||||
echo $reply;
|
||||
|
||||
Reference in New Issue
Block a user