mirror of
https://github.com/unraid/webgui.git
synced 2026-05-01 15:29:20 -05: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