Set altroot if the user have specified it via -o altroot.
MFC after: 2 weeks
This commit is contained in:
parent
201fc1be73
commit
139773cf3f
@ -834,6 +834,8 @@ zpool_do_create(int argc, char **argv)
|
||||
enable_all_pool_feat = B_FALSE;
|
||||
}
|
||||
}
|
||||
if (zpool_name_to_prop(optarg) == ZPOOL_PROP_ALTROOT)
|
||||
altroot = propval;
|
||||
break;
|
||||
case 'O':
|
||||
if ((propval = strchr(optarg, '=')) == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user