Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Gracefully get out of extended partitioning...
details: https://anonhg.NetBSD.org/src/rev/63c632670293
branches: trunk
changeset: 452855:63c632670293
user: martin <martin%NetBSD.org@localhost>
date: Thu Jul 25 19:01:08 2019 +0000
description:
Gracefully get out of extended partitioning if the user did not create
any partitions at all.
diffstat:
usr.sbin/sysinst/partman.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6274283a6ec0 -r 63c632670293 usr.sbin/sysinst/partman.c
--- a/usr.sbin/sysinst/partman.c Thu Jul 25 18:55:40 2019 +0000
+++ b/usr.sbin/sysinst/partman.c Thu Jul 25 19:01:08 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: partman.c,v 1.40 2019/07/23 18:13:40 martin Exp $ */
+/* $NetBSD: partman.c,v 1.41 2019/07/25 19:01:08 martin Exp $ */
/*
* Copyright 2012 Eugene Lozovoy
@@ -3019,7 +3019,7 @@
free_menu(menu_no);
}
- if (args[0].retvalue == 0) {
+ if (args[0].retvalue == 0 && pm->parts != NULL) {
struct install_partition_desc install;
install_desc_from_parts(&install, pm->parts);
Home |
Main Index |
Thread Index |
Old Index