mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: Tolerate failure of blockdev --rereadpt after sfdisk.
See commit840536ea5aand commit956fc5a3fe.
This commit is contained in:
@@ -101,8 +101,7 @@ sfdisk (const char *device, int n, int cyls, int heads, int sectors,
|
||||
* other component. In any case, reread the partition table
|
||||
* unconditionally here.
|
||||
*/
|
||||
if (do_blockdev_rereadpt (device) == -1)
|
||||
return -1;
|
||||
(void) command (NULL, NULL, "blockdev", "--rereadpt", NULL);
|
||||
|
||||
udev_settle ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user