summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/sfdisk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/sfdisk.c b/daemon/sfdisk.c
index bf62c1da..ec774653 100644
--- a/daemon/sfdisk.c
+++ b/daemon/sfdisk.c
@@ -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 ();