# Fix prepending partprobe command in fdisk module library code # # Upstream-status: Pending # # Signed-off-by: Paul Eggleton --- webmin-1.570.orig/fdisk/fdisk-lib.pl +++ webmin-1.570/fdisk/fdisk-lib.pl @@ -940,7 +940,7 @@ elsif ($_[0] eq "fatx") { $cmd = "mkfs -t $_[0] $_[1]"; } if (&has_command("partprobe")) { - $cmd .= "partprobe ; $cmd"; + $cmd = "partprobe ; $cmd"; } return $cmd; }