summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hscript/disk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc
index 15e5863..0f6828a 100644
--- a/hscript/disk.cc
+++ b/hscript/disk.cc
@@ -249,7 +249,7 @@ bool DiskLabel::execute(ScriptOptions options) const {
return false;
}
- return (ped_disk_commit(disk) == 0);
+ return (ped_disk_commit(disk) == 1);
#else
return false;
#endif /* HAS_INSTALL_ENV */