diff options
Diffstat (limited to 'usr.sbin/sysinstall/label.c')
-rw-r--r-- | usr.sbin/sysinstall/label.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c index 9be92b2..c9b8c8d 100644 --- a/usr.sbin/sysinstall/label.c +++ b/usr.sbin/sysinstall/label.c @@ -328,7 +328,7 @@ new_part(char *mpoint, Boolean newfs, u_long size) strcpy(ret->newfs_cmd, "newfs "); strcat(ret->newfs_cmd, variable_get(VAR_NEWFS_ARGS)); ret->newfs = newfs; - ret->soft = 0; + ret->soft = strcmp(mpoint, "/") ? 1 : 0; if (!size) return ret; return ret; |