Module Name: src Committed By: martin Date: Thu Jul 25 19:01:08 UTC 2019
Modified Files: src/usr.sbin/sysinst: partman.c Log Message: Gracefully get out of extended partitioning if the user did not create any partitions at all. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.sbin/sysinst/partman.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/sysinst/partman.c diff -u src/usr.sbin/sysinst/partman.c:1.40 src/usr.sbin/sysinst/partman.c:1.41 --- src/usr.sbin/sysinst/partman.c:1.40 Tue Jul 23 18:13:40 2019 +++ src/usr.sbin/sysinst/partman.c Thu Jul 25 19:01:08 2019 @@ -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 @@ partman(void) 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);