TRIM: code optimization

This commit is contained in:
bergware
2023-03-18 22:04:04 +01:00
parent ef30f756d5
commit 992643b666
-1
View File
@@ -72,7 +72,6 @@ foreach ($mounts as $mount) {
write("$target: ... <i class='fa fa-spin fa-circle-o-notch'></i>\r");
write(exec("fstrim -v $target 2>/dev/null")." on $source\r","\n");
}
// trim zfs
zfs_trim(true);
write(_("Finished")."\n",'_DONE_','');