Make zpool attach -o ashift=... actually work
Commit df83110856950c8e7b16a7e94cdf42b8531b9cc8 missed update to getopt() call, while delivering all the rest. This commit adds "o" to getopt(). Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #566
This commit is contained in:
parent
c3275b56a1
commit
4588bf5701
@ -2889,7 +2889,7 @@ zpool_do_attach_or_replace(int argc, char **argv, int replacing)
|
||||
int ret;
|
||||
|
||||
/* check options */
|
||||
while ((c = getopt(argc, argv, "f")) != -1) {
|
||||
while ((c = getopt(argc, argv, "fo:")) != -1) {
|
||||
switch (c) {
|
||||
case 'f':
|
||||
force = B_TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user