From a0359c1d388ef1e5d3e3ac3e20bf52a1c8da89cb Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 1 Nov 2019 18:52:43 -0500 Subject: hscript: DiskLabel::execute: commit to all, not just device --- hscript/disk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hscript') diff --git a/hscript/disk.cc b/hscript/disk.cc index ad253b3..0d332a7 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -226,7 +226,7 @@ bool DiskLabel::execute(ScriptOptions options) const { return false; } - return (ped_disk_commit_to_dev(disk) == 0); + return (ped_disk_commit(disk) == 0); #else return false; #endif /* HAS_INSTALL_ENV */ -- cgit v1.2.3-70-g09d2