mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
Make zpool attach -o ashift=... actually work
Commit df83110856
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;
|
int ret;
|
||||||
|
|
||||||
/* check options */
|
/* check options */
|
||||||
while ((c = getopt(argc, argv, "f")) != -1) {
|
while ((c = getopt(argc, argv, "fo:")) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'f':
|
case 'f':
|
||||||
force = B_TRUE;
|
force = B_TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user