diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-02 15:32:27 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-02 15:32:27 -0500 |
commit | 21578ce725c2304c7d46e5ec08b38e8841f6154a (patch) | |
tree | b7bede7ad72cc328a87284233b7070ae2e594dc2 /hscript/disk.cc | |
parent | fa608c69df18409aa7f1fc9953072e5a030a5c8f (diff) | |
download | horizon-21578ce725c2304c7d46e5ec08b38e8841f6154a.tar.gz horizon-21578ce725c2304c7d46e5ec08b38e8841f6154a.tar.bz2 horizon-21578ce725c2304c7d46e5ec08b38e8841f6154a.tar.xz horizon-21578ce725c2304c7d46e5ec08b38e8841f6154a.zip |
hscript: disk: libparted returns 1 on success, not 0
Diffstat (limited to 'hscript/disk.cc')
-rw-r--r-- | hscript/disk.cc | 2 |
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 */ |