summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-16 15:00:25 +0000
committerjkh <jkh@FreeBSD.org>1997-01-16 15:00:25 +0000
commit21695ece5ead7b2fd8511ac5906366cf3a3364a0 (patch)
tree9e00f6901f2f6c7668caef021d0a7e695793139a /release
parentef44e0f0bef59f33011e9ce853127051ddcca031 (diff)
downloadFreeBSD-src-21695ece5ead7b2fd8511ac5906366cf3a3364a0.zip
FreeBSD-src-21695ece5ead7b2fd8511ac5906366cf3a3364a0.tar.gz
Fix mishandling of extraction return status in commit.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/install.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index bf7e84a..4d726ac 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -710,6 +710,8 @@ installCommit(dialogMenuItem *self)
i = distExtractAll(self);
if (DITEM_STATUS(i) == DITEM_SUCCESS && (!need_bin || !(Dists & DIST_BIN)))
i = installFixup(self);
+ else
+ i = DITEM_FAILURE;
variable_set2(SYSTEM_STATE, DITEM_STATUS(i) == DITEM_FAILURE ? "error-install" : "full-install");
return i | DITEM_RECREATE;
}
OpenPOWER on IntegriCloud